aboutsummaryrefslogtreecommitdiff
path: root/src/main/antlr4
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/antlr4')
-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 f5bcb685..9e6a46ee 100644
--- a/src/main/antlr4/FIRRTL.g4
+++ b/src/main/antlr4/FIRRTL.g4
@@ -108,7 +108,7 @@ stmt
| 'stop(' exp exp IntLit ')' info?
| 'printf(' exp exp StringLit ( exp)* ')' info?
| 'skip' info?
- | 'attach' exp 'to' '(' exp* ')' info?
+ | 'attach' '(' exp+ ')' info?
;
memField