diff options
author | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-10-20 20:41:10 +0000 |
---|---|---|
committer | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-10-20 20:41:10 +0000 |
commit | 4af7ae6c56153347035656a2596254c1a8a17668 (patch) | |
tree | 3722478f2d678b63feefe9faa3e3ddbb0225c80c /src/parser/smt2 | |
parent | 93e8bc35db891c6041f9690366be933433a0ad52 (diff) |
Fixing minor whitespace bug in the parser
Diffstat (limited to 'src/parser/smt2')
-rw-r--r-- | src/parser/smt2/Smt2.g | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/smt2/Smt2.g b/src/parser/smt2/Smt2.g index f549d2148..705eee4d4 100644 --- a/src/parser/smt2/Smt2.g +++ b/src/parser/smt2/Smt2.g @@ -661,7 +661,7 @@ fragment SIMPLE_SYMBOL * Matches and skips whitespace in the input. */ WHITESPACE - : (' ' | '\t' | '\f' | '\r' | '\n')+ { $channel = HIDDEN; } + : (' ' | '\t' | '\f' | '\r' | '\n')+ { SKIP(); } ; /** @@ -727,7 +727,7 @@ STRING_LITERAL * Matches the comments and ignores them */ COMMENT - : ';' (~('\n' | '\r'))* { $channel = HIDDEN; } + : ';' (~('\n' | '\r'))* { SKIP(); } ; |