Adjust grammar so that it never depends on newline tokens
This commit is contained in:
1 parent
ed1491db33
commit
988b54aee3
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
||||
/* string literals are lexer identifier tokens with that particular value */
|
||||
<program> ::= <statement>*
|
||||
<statement> ::= ( <label> | <directive> | <instruction> ) <newline>
|
||||
<statement> ::= <label> | <directive> | <instruction>
|
||||
|
||||
<label> ::= <identifier> <colon>
|
||||
|
||||
|
||||
Reference in new issue
Block a user