From e63a058b04d428cd407528b0276cc0413b581be2 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 8 Feb 2016 23:33:07 -0800 Subject: Bug Fixes in handling hyphens as part of IDs, proper handling of negative IntLits (all IntLits handled by Parser and Visitor the same, checks come later), also delete first and last char of string literals since those characters are the quotes. --- src/main/antlr4/FIRRTL.g4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/antlr4') diff --git a/src/main/antlr4/FIRRTL.g4 b/src/main/antlr4/FIRRTL.g4 index e0e10d45..6e6b972f 100644 --- a/src/main/antlr4/FIRRTL.g4 +++ b/src/main/antlr4/FIRRTL.g4 @@ -208,7 +208,7 @@ Id fragment IdNondigit : Nondigit - | [~!@#$%^*-+=?/] + | [~!@#$%^*\-+=?/] ; Comment -- cgit v1.2.3