diff --git a/include/vast/Dialect/HighLevel/HighLevelVar.td b/include/vast/Dialect/HighLevel/HighLevelVar.td index 465b29c6df..a736a37705 100644 --- a/include/vast/Dialect/HighLevel/HighLevelVar.td +++ b/include/vast/Dialect/HighLevel/HighLevelVar.td @@ -47,7 +47,7 @@ def HighLevel_VarDeclOp ]; let assemblyFormat = [{ - $sym_name attr-dict (`,`$linkage^)? (`constant` $constant^):(``)? custom< StorageClasses >($storageClass, $threadStorageClass) + $sym_name attr-dict (`,`$linkage^)? (`constant` $constant^)? custom< StorageClasses >($storageClass, $threadStorageClass) `:` $type (`=` $initializer^)? (`allocation_size` $allocation_size^)?