Home
last modified time | relevance | path

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

/external/bison/src/
Dscan-gram.l120 static int rule_length; variable
128 rule_length++; in increment_rule_length()
132 if (rule_length == INT_MAX) in increment_rule_length()
245 "%prec" rule_length--; return PERCENT_PREC;
265 "|" rule_length = 0; return PIPE;
338 rule_length = 0;
873 if (1 - INT_MAX + rule_length <= num && num <= rule_length) in handle_action_dollar()
887 rule_length, n, type_name); in handle_action_dollar()
951 if (1 - INT_MAX + rule_length <= num && num <= rule_length) in handle_action_at()
955 rule_length, n); in handle_action_at()
Dscan-gram.c981 static int rule_length; variable
989 rule_length++; in increment_rule_length()
993 if (rule_length == INT_MAX) in increment_rule_length()
1549 rule_length--; return PERCENT_PREC;
1631 rule_length = 0; return PIPE; variable
1742 rule_length = 0;
3527 if (1 - INT_MAX + rule_length <= num && num <= rule_length) in handle_action_dollar()
3541 rule_length, n, type_name); in handle_action_dollar()
3605 if (1 - INT_MAX + rule_length <= num && num <= rule_length) in handle_action_at()
3609 rule_length, n); in handle_action_at()
/external/bison/
DChangeLog7406 * src/scan-gram.l (rule_length): New static var.
8920 rule_length only when needed.
9270 Don't require `rule_length' as an argument: compute it.
9707 `rule_length', which is more readable.
9713 always does `rule_length - n', where semantic parsers ought to