AST building #2

Merged
TopchetoEU merged 74 commits from TopchetoEU/ast-building into master 2022-10-28 11:58:03 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 9a63f8720d - Show all commits

View File

@ -7,7 +7,7 @@ bool ast::parse_field(ast_ctx_t &ctx, size_t &res_i, map_t &out) {
if (!h.parse(parse_identifier, out["name"].map({}))) return false;
bool type, defval;
bool type = false, defval = false;
h.throw_ended("Expected a colon or an equals sign.");

View File

@ -7,7 +7,7 @@ static bool parse_arg(ast_ctx_t &ctx, size_t &res_i, map_t &out) {
if (!h.parse(parse_identifier, out["name"].map({}))) return false;
bool type, defval;
bool type = false, defval = false;
h.throw_ended("Expected a colon or an equals sign.");