Home
last modified time | relevance | path

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

/external/bison/src/
Dreader.c514 int rule_length = 0; in packgram() local
549 ++rule_length; in packgram()
553 if (rule_length == INT_MAX) in packgram()
Dscan-code.l500 parse_ref (char *cp, symbol_list *rule, int rule_length, in parse_ref() argument
517 if (1 - INT_MAX + rule_length <= num && num <= rule_length) in parse_ref()
Dscan-code.c2689 parse_ref (char *cp, symbol_list *rule, int rule_length, in parse_ref() argument
2706 if (1 - INT_MAX + rule_length <= num && num <= rule_length) in parse_ref()
/external/bison/
DChangeLog-20128203 (packgram): Bound check ruleno, itemno, and rule_length.
8219 * src/scan-gram.l (rule_length, rule_length_overflow)
15667 * src/scan-gram.l (rule_length): New static var.
17181 rule_length only when needed.
17531 Don't require `rule_length' as an argument: compute it.
17968 `rule_length', which is more readable.
17974 always does `rule_length - n', where semantic parsers ought to