Require a space after an amount

Otherwise the space becomes part of the description.
This commit is contained in:
Jos van den Oever 2024-10-01 13:28:41 +02:00
parent 941aef502b
commit 9b1da89cdf

View file

@ -79,7 +79,7 @@ text
description : (EOL text)* ; description : (EOL text)* ;
// An amount in curly brackes or nothing // An amount in curly brackes or nothing
amount : '{' S* INT S* '}' | ; amount : '{' S* INT S* '} ' | ;
// Lexer rules // Lexer rules