Home
last modified time | relevance | path

Searched refs:rule_stack_top (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dparse.c228 size_t rule_stack_top; member
295 if (parser->rule_stack_top >= parser->rule_stack_alloc) { in push_rule()
300 rule_stack_t *rs = &parser->rule_stack[parser->rule_stack_top++]; in push_rule()
313 parser->rule_stack_top -= 1; in pop_rule()
314 uint8_t rule_id = parser->rule_stack[parser->rule_stack_top].rule_id; in pop_rule()
315 *arg_i = parser->rule_stack[parser->rule_stack_top].arg_i; in pop_rule()
316 *src_line = parser->rule_stack[parser->rule_stack_top].src_line; in pop_rule()
840 parser.rule_stack_top = 0; in mp_parse()
876 if (parser.rule_stack_top == 0) { in mp_parse()
890 printf("depth=" UINT_FMT " ", parser.rule_stack_top); in mp_parse()
[all …]

Completed in 5 milliseconds