Skip to content

Commit

Permalink
hl: Let struct decl populate parent symbol table with its definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Oct 17, 2024
1 parent 3685e43 commit 55e5e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/vast/Dialect/HighLevel/HighLevelOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class HighLevel_RecordLikeDeclOp< string mnemonic, list< Trait > traits = [] >
}

def HighLevel_StructDeclOp
: HighLevel_RecordLikeDeclOp< "struct" >
: HighLevel_RecordLikeDeclOp< "struct", [Core_EmptySymbolTable] >
{
let summary = "VAST struct declaration";
let description = [{ VAST struct declaration }];
Expand Down

0 comments on commit 55e5e66

Please sign in to comment.