Searched refs:current_rule (Results 1 – 5 of 5) sorted by relevance
/external/bison/src/ |
D | reader.c | 178 symbol_list *current_rule = NULL; variable 200 current_rule = grammar_end; in grammar_current_rule_begin() 290 current_rule->location = loc; in grammar_current_rule_end() 291 grammar_rule_check (current_rule); in grammar_current_rule_end() 311 location dummy_location = current_rule->action_location; in grammar_midrule_action() 321 midrule->action = current_rule->action; in grammar_midrule_action() 323 current_rule->action = NULL; in grammar_midrule_action() 326 midrule->used = current_rule->used; in grammar_midrule_action() 327 current_rule->used = false; in grammar_midrule_action() 337 midrule->next->next = current_rule; in grammar_midrule_action() [all …]
|
D | scan-gram.l | 295 if (current_rule && current_rule->action) 843 if (! current_rule) in handle_action_dollar() 859 type_name = symbol_list_n_type_name_get (current_rule, loc, 0); in handle_action_dollar() 862 current_rule->sym->tag); in handle_action_dollar() 867 current_rule->used = true; in handle_action_dollar() 879 type_name = symbol_list_n_type_name_get (current_rule, loc, n); in handle_action_dollar() 882 n, current_rule->sym->tag); in handle_action_dollar() 888 symbol_list_n_used_set (current_rule, n, true); in handle_action_dollar() 942 if (! current_rule) in handle_action_at()
|
D | scan-gram.c | 1687 if (current_rule && current_rule->action) 3497 if (! current_rule) in handle_action_dollar() 3513 type_name = symbol_list_n_type_name_get (current_rule, loc, 0); in handle_action_dollar() 3516 current_rule->sym->tag); in handle_action_dollar() 3521 current_rule->used = true; in handle_action_dollar() 3533 type_name = symbol_list_n_type_name_get (current_rule, loc, n); in handle_action_dollar() 3536 n, current_rule->sym->tag); in handle_action_dollar() 3542 symbol_list_n_used_set (current_rule, n, true); in handle_action_dollar() 3596 if (! current_rule) in handle_action_at()
|
D | reader.h | 75 extern symbol_list *current_rule;
|
/external/bison/ |
D | ChangeLog | 5600 indicating success. Fail if ! current_rule; this prevents a core dump. 9292 * src/reader.c (grammar_rule_begin, previous_rule, current_rule):
|