aboutsummaryrefslogtreecommitdiff
path: root/src/main/antlr4/FIRRTL.g4
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/antlr4/FIRRTL.g4')
-rw-r--r--src/main/antlr4/FIRRTL.g41
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/antlr4/FIRRTL.g4 b/src/main/antlr4/FIRRTL.g4
index 69b7ba5d..cdec7260 100644
--- a/src/main/antlr4/FIRRTL.g4
+++ b/src/main/antlr4/FIRRTL.g4
@@ -164,6 +164,7 @@ exp
| 'SInt' ('<' intLit '>')? '(' intLit ')'
| id // Ref
| exp '.' fieldId
+ | exp '.' DoubleLit // TODO Workaround for #470
| exp '[' intLit ']'
| exp '[' exp ']'
| 'mux(' exp exp exp ')'