Changeset c12b2ae in mainline for uspace/app/bithenge/script.c
- Timestamp:
- 2012-08-07T05:00:41Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ad5c8a48
- Parents:
- a8be91a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bithenge/script.c
ra8be91a rc12b2ae 363 363 static bithenge_expression_t *parse_expression(state_t *state) 364 364 { 365 int rc; 365 366 if (state->token == TOKEN_TRUE || state->token == TOKEN_FALSE) { 366 367 bool val = state->token == TOKEN_TRUE; 367 368 next_token(state); 368 369 bithenge_node_t *node; 369 intrc = bithenge_new_boolean_node(&node, val);370 rc = bithenge_new_boolean_node(&node, val); 370 371 if (rc != EOK) { 371 372 error_errno(state, rc); … … 385 386 next_token(state); 386 387 bithenge_node_t *node; 387 intrc = bithenge_new_integer_node(&node, val);388 rc = bithenge_new_integer_node(&node, val); 388 389 if (rc != EOK) { 389 390 error_errno(state, rc); … … 412 413 413 414 bithenge_expression_t *expr; 414 intrc = bithenge_param_expression(&expr, i);415 rc = bithenge_param_expression(&expr, i); 415 416 if (rc != EOK) { 416 417 error_errno(state, rc); … … 427 428 bithenge_node_t *key = NULL; 428 429 bithenge_expression_t *expr = NULL; 429 int rc = bithenge_current_node_expression(&expr);430 error_errno(state, rc);431 430 432 431 if (state->error == EOK) { … … 437 436 438 437 if (state->error == EOK) { 439 rc = bithenge_ member_expression(&expr,expr, key);438 rc = bithenge_scope_member_expression(&expr, key); 440 439 key = NULL; 441 440 if (rc != EOK) … … 857 856 858 857 if (state->error == EOK) { 859 int rc = bithenge_new_ scope_transform(&xform, xform,858 int rc = bithenge_new_barrier_transform(&xform, xform, 860 859 state->num_params); 861 860 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.