Debian Codegraph @

documentation/manual/error/errordemo/parser/grammar

raw
1 %filenames parser
2 %debug
3
4 %token NR
5
6 %left '+'
7
8 %%
9
10 start:
11 start expr
12 |
13 // empty
14 ;
15
16 expr:
17 error
18 |
19 NR
20 |
21 expr '+' expr
22 ;