mirror of
https://codeberg.org/NLnet/takentaal.git
synced 2025-08-30 06:20:06 +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
2
example
2
example
|
@ -16,4 +16,4 @@ This description has # ' " [] symbols and ü © Ð Latin-1 chars.
|
||||||
This is the description of the second task.
|
This is the description of the second task.
|
||||||
|
|
||||||
* First subtask {500}
|
* First subtask {500}
|
||||||
- Second subtask {500}
|
- Second subtask {500}
|
||||||
|
|
|
@ -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