summaryrefslogtreecommitdiff
path: root/src/parser/smt2/Smt2.g
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/smt2/Smt2.g')
-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