aboutsummaryrefslogtreecommitdiff
path: root/src/main/antlr4/FIRRTL.g4
diff options
context:
space:
mode:
authorJack Koenig2022-09-12 15:41:34 -0400
committerGitHub2022-09-12 15:41:34 -0400
commit50a1230de1d68014cd88e4fcca2bdf3a5c94d6d3 (patch)
tree55eff02d6fcc338d2e1f2976bbe6a4e1035983c4 /src/main/antlr4/FIRRTL.g4
parent19fe90bb0fd37457c47f3873392db5cbb9b87d38 (diff)
Handle new keyword version as an identifier (#2550)
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 10a87c9e..047cd83d 100644
--- a/src/main/antlr4/FIRRTL.g4
+++ b/src/main/antlr4/FIRRTL.g4
@@ -281,6 +281,7 @@ keywordAsId
| 'assert'
| 'assume'
| 'cover'
+ | 'version'
;
// Parentheses are added as part of name because semantics require no space between primop and open parentheses