diff --git a/libASL/Semantics.g4 b/libASL/Semantics.g4 index c72cca86..0bcf24f5 100644 --- a/libASL/Semantics.g4 +++ b/libASL/Semantics.g4 @@ -46,7 +46,7 @@ type_register_slices: type: 'Type_Bits' OPEN_PAREN expr CLOSE_PAREN # TypeBits - | 'Type_Constructor(boolean)' # TypeBoolean + | 'Type_Constructor("boolean")' # TypeBoolean | 'Type_Constructor(' ident ')' # TypeConstructor | 'Type_Register' OPEN_PAREN QUOTE width=integer QUOTE type_register_slices CLOSE_PAREN # TypeRegister ;