From dfab3a6297211a9809ca6a67fb0174f3b20a7f8a Mon Sep 17 00:00:00 2001 From: maxonfjvipon Date: Tue, 10 Dec 2024 18:49:30 +0300 Subject: [PATCH] fix(#3629): grammar --- eo-parser/src/main/antlr4/org/eolang/parser/Eo.g4 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/eo-parser/src/main/antlr4/org/eolang/parser/Eo.g4 b/eo-parser/src/main/antlr4/org/eolang/parser/Eo.g4 index 6e30d5e8f8..0b85b783bf 100644 --- a/eo-parser/src/main/antlr4/org/eolang/parser/Eo.g4 +++ b/eo-parser/src/main/antlr4/org/eolang/parser/Eo.g4 @@ -683,11 +683,7 @@ fragment ZERO : '0' ; -INT : (PLUS | MINUS)? INT_POSITIVE - ; - -INT_POSITIVE - : (ZERO | ZERO?[1-9][0-9]*) +INT : (PLUS | MINUS)? (ZERO | ZERO?[1-9][0-9]*) ; fragment EXPONENT