mirror of
https://codeberg.org/NLnet/takentaal.git
synced 2025-08-30 14:30:08 +00:00
Make the line non-terminal an actual line
by removing \n and \r from the WS terminal.
This commit is contained in:
parent
ddfdeb7224
commit
5298c9e97a
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
grammar takentaal;
|
grammar takentaal;
|
||||||
|
|
||||||
takentaal
|
takentaal
|
||||||
: line+ EOF
|
: (line '\n'+)+ EOF
|
||||||
;
|
;
|
||||||
|
|
||||||
line
|
line
|
||||||
|
@ -75,7 +75,7 @@ SUBTASK_OBSOLETE_TOKEN
|
||||||
;
|
;
|
||||||
|
|
||||||
WS
|
WS
|
||||||
: [ \r\n\t]+ -> skip
|
: [ \t]+ -> skip
|
||||||
;
|
;
|
||||||
|
|
||||||
INT
|
INT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue