Added support for inline comments

Also now doing comment serialization on def_comment directly as parse_comment doesn't need it.

Essentially comment ast types serialize the same way s untyped and execution ASTs
This commit is contained in:
2023-08-23 00:05:58 -04:00
parent 5e79e8ba65
commit c97762ac16
14 changed files with 344 additions and 103 deletions

View File

@ -7,7 +7,7 @@
#include "gen.builder.cpp"
#include "sanity.cpp"
#include "SOA.cpp"
#include "test.singleheader.cpp"
#include "validate.singleheader.cpp"
int gen_main()
{
@ -18,7 +18,7 @@ int gen_main()
// check_SOA();
// check_singleheader_ast();
check_singleheader_ast();
return 0;
}
#endif