summaryrefslogtreecommitdiff
path: root/src/parser/smt2
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-10-20 20:41:10 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-10-20 20:41:10 +0000
commit4af7ae6c56153347035656a2596254c1a8a17668 (patch)
tree3722478f2d678b63feefe9faa3e3ddbb0225c80c /src/parser/smt2
parent93e8bc35db891c6041f9690366be933433a0ad52 (diff)
Fixing minor whitespace bug in the parser
Diffstat (limited to 'src/parser/smt2')
-rw-r--r--src/parser/smt2/Smt2.g4
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(); }
;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback