aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Magyar2017-04-28 14:30:16 -0700
committerJack Koenig2017-04-28 14:30:16 -0700
commit2e936ce6e0ac79d4aa4034e7c51f659cb00fc3dd (patch)
treec290a7820e2c652c966f867b587f104babf5a50c
parent10cae2a5dd373056164e2b159d4010ccada156eb (diff)
Add info on reset block lines to ANTLR grammar (#468)
Fixes #409
-rw-r--r--src/main/antlr4/FIRRTL.g42
1 files changed, 1 insertions, 1 deletions
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 + ')'
;