Add comments to the input file
This commit is contained in:
parent
ce88f93ca3
commit
ecc187c51b
|
@ -106,6 +106,8 @@ We are building an LALR(1) parser, with replacement rules, both starting from th
|
||||||
|
|
||||||
Conventionally, terminals are all caps, while variables are lowercase.
|
Conventionally, terminals are all caps, while variables are lowercase.
|
||||||
|
|
||||||
|
Comments are from a `#` to the end of the line.
|
||||||
|
|
||||||
|
|
||||||
### Using the parser
|
### Using the parser
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,8 @@ We are building an LALR(1) parser, with replacement rules, both starting from th
|
||||||
|
|
||||||
Conventionally, terminals are all caps, while variables are lowercase.
|
Conventionally, terminals are all caps, while variables are lowercase.
|
||||||
|
|
||||||
|
Comments are from a `#` to the end of the line.
|
||||||
|
|
||||||
AUTHORS
|
AUTHORS
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
|
|
@ -20,4 +20,4 @@ RULENAME = [_a-zA-Z][_a-zA-Z0-9]*
|
||||||
LBRACKET = \[
|
LBRACKET = \[
|
||||||
RBRACKET = \]
|
RBRACKET = \]
|
||||||
COMMA = ,
|
COMMA = ,
|
||||||
ignore = \t| |\n|\r
|
ignore = \t| |\n|\r|#.*
|
||||||
|
|
Loading…
Reference in New Issue