summaryrefslogtreecommitdiff
path: root/impl/EquationSystem.g
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@carlo-laptop>2012-05-17 01:58:42 +1000
committerCarlo Zancanaro <carlo@carlo-laptop>2012-05-17 01:58:42 +1000
commit12b86dc91316a5591c22160a9312e62c77a65b2f (patch)
treec1689f6d50fc529d9b0dcd38a021a15109c5867d /impl/EquationSystem.g
parentfcecd0e7dc0bf103986c02e2f29fb518cd5571c5 (diff)
Fix a segfault and a stupid parser decision.
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;