From 157812436918d6b16c52410c8d655a78f13364dd Mon Sep 17 00:00:00 2001 From: Adam Wardynski <award@.(win7-laptop)> Date: Tue, 30 Nov 2010 02:34:47 +0100 Subject: [PATCH] Allow spaces and tabs between number and sign. --- libwccl/parser/grammar.g | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libwccl/parser/grammar.g b/libwccl/parser/grammar.g index e354413..b6178c6 100644 --- a/libwccl/parser/grammar.g +++ b/libwccl/parser/grammar.g @@ -1089,7 +1089,7 @@ SIGNED_INT options { paraphrase = "Signed integer"; } - : ('-'|'+') ('0'..'9')+ + : ('-'|'+') (' '!|'\t'!)* ('0'..'9')+ ; UNSIGNED_INT -- GitLab