From 2e936ce6e0ac79d4aa4034e7c51f659cb00fc3dd Mon Sep 17 00:00:00 2001 From: Albert Magyar Date: Fri, 28 Apr 2017 14:30:16 -0700 Subject: Add info on reset block lines to ANTLR grammar (#468) Fixes #409 --- src/main/antlr4/FIRRTL.g4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/antlr4/FIRRTL.g4 b/src/main/antlr4/FIRRTL.g4 index e26aca2e..f360229a 100644 --- a/src/main/antlr4/FIRRTL.g4 +++ b/src/main/antlr4/FIRRTL.g4 @@ -88,7 +88,7 @@ simple_reset ; reset_block - : INDENT simple_reset NEWLINE DEDENT + : INDENT simple_reset info? NEWLINE DEDENT | '(' + simple_reset + ')' ; -- cgit v1.2.3