From 270a539d910dcc66e1590b4aa18b66bb40289621 Mon Sep 17 00:00:00 2001 From: mcDandy Date: Sun, 1 Feb 2026 15:18:19 +0100 Subject: [PATCH] Addid scientific notation. I forgot to commit. --- more_math/Parser/MathExpr.g4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/more_math/Parser/MathExpr.g4 b/more_math/Parser/MathExpr.g4 index ca871af..32a1896 100644 --- a/more_math/Parser/MathExpr.g4 +++ b/more_math/Parser/MathExpr.g4 @@ -339,7 +339,7 @@ COLON: ':'; LBRACE: '{'; RBRACE: '}'; -NUMBER: ([0-9]+('.'[0-9]*)? | '.'[0-9]+)([eE][+-]?[0-9]+)?; +NUMBER: ([0-9]+ ('.' [0-9]*)? | '.' [0-9]+) ([eE][+-]? [0-9]+)?; CONSTANT: ('pi' | 'PI' | 'e' | 'E'); VARIABLE: [a-zA-Z_] [a-zA-Z_0-9]*;