Make the line non-terminal an actual line

by removing \n and \r from the WS terminal.
This commit is contained in:
Jos van den Oever 2024-08-28 17:27:59 +02:00
parent ddfdeb7224
commit 5298c9e97a
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
grammar takentaal;
takentaal
: line+ EOF
: (line '\n'+)+ EOF
;
line
@ -75,7 +75,7 @@ SUBTASK_OBSOLETE_TOKEN
;
WS
: [ \r\n\t]+ -> skip
: [ \t]+ -> skip
;
INT