test completes singleheader ast construction and serailizes with corruption

This commit is contained in:
2023-08-02 14:01:56 -04:00
parent b96b0821c1
commit a8a9b681f0
4 changed files with 39 additions and 47 deletions

View File

@ -23,6 +23,10 @@ void check_singleheader_ast()
s32 idx = 0;
for ( Code entry : ast )
{
if (idx == 900)
{
log_fmt("break here\n");
}
log_fmt("Entry %d: %s\n", idx, entry.to_string() );
idx++;
}