summaryrefslogtreecommitdiff
path: root/impl/EquationSystem.g
diff options
context:
space:
mode:
Diffstat (limited to 'impl/EquationSystem.g')
-rw-r--r--impl/EquationSystem.g2
1 files changed, 1 insertions, 1 deletions
diff --git a/impl/EquationSystem.g b/impl/EquationSystem.g
index d7e55a7..6db7045 100644
--- a/impl/EquationSystem.g
+++ b/impl/EquationSystem.g
@@ -27,7 +27,7 @@ term : NUMBER | VARIABLE ;
NUMBER : (DIGIT)+ ;
-VARIABLE: (LETTER)+ ;
+VARIABLE: (LETTER) (LETTER | DIGIT)* ;
WHITESPACE : ( '\t' | ' ' | '\u000C' )+
{
$channel = HIDDEN;