Debian Codegraph @

parser/inc/rules

raw
1 _rule_def:
2 // only an empty line is OK
3 |
4 // recovery from errors is OK: continue at the next line
5 error
6 |
7 optMs_rule
8 |
9 msCompound
10 ;
11
12 // each rule ends in a '\n'
13 _rule:
14 _rule_def '\n' reset
15 // {
16 // if (d_scanner.endOfInput())
17 // ACCEPT();
18 // }
19 ;
20
21 // there may be no rules
22 // the scanner skips blanks, but returns '\n'
23 rules:
24 rules _rule
25 |
26 // empty
27 ;
28