Progress on parser documentation

This commit is contained in:
2024-12-16 14:57:01 -05:00
parent 15847f10b9
commit adbcb2a83b
4 changed files with 567 additions and 212 deletions

View File

@ -4133,13 +4133,6 @@ CodeFn parser_parse_function()
}
// <export> <Attributes> <Specifiers>
// Note(Ed): We're enforcing that using this codepath requires non-macro jank.
// Code macro_stmt = parse_macro_as_definiton(attributes, specifiers);
// if (macro_stmt) {
// parser_pop(& _ctx->parser);
// return macro_stmt;
// }
CodeTypename ret_type = parser_parse_type(parser_not_from_template, nullptr);
if ( cast(Code, ret_type) == Code_Invalid ) {
parser_pop(& _ctx->parser);