AST building #2

Merged
TopchetoEU merged 74 commits from TopchetoEU/ast-building into master 2022-10-28 11:58:03 +00:00
Showing only changes of commit a5c9a163f2 - Show all commits

View File

@ -16,6 +16,7 @@ class type_parser_t : public parser_t {
while (true) {
if (h.ended()) break;
if (!h.curr().is_operator(operator_t::DOUBLE_COLON)) break;
h.advance("Expected an identifier.");
h.force_push_parse("$_identifier", "Expected an identifier.", nmsp_content);
}