From 9b1da89cdf2d6bd8d5926ccb01a2e2342a6779dc Mon Sep 17 00:00:00 2001 From: Jos van den Oever Date: Tue, 1 Oct 2024 13:28:41 +0200 Subject: [PATCH] Require a space after an amount Otherwise the space becomes part of the description. --- takentaal.g4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/takentaal.g4 b/takentaal.g4 index 4943d23..86fd1fc 100644 --- a/takentaal.g4 +++ b/takentaal.g4 @@ -79,7 +79,7 @@ text description : (EOL text)* ; // An amount in curly brackes or nothing -amount : '{' S* INT S* '}' | ; +amount : '{' S* INT S* '} ' | ; // Lexer rules