This commit is contained in:
cozis
2021-11-01 04:05:23 +00:00
parent 1c12c13550
commit 88efd9515c
2 changed files with 6 additions and 6 deletions
-1
View File
@@ -399,7 +399,6 @@ static Node *parse_expression_statement(Context *ctx)
static Node *parse_string_primary_expression(Context *ctx) static Node *parse_string_primary_expression(Context *ctx)
{ {
assert(ctx != NULL); assert(ctx != NULL);
assert(ctx->token->kind == TSTRING);
if(done(ctx)) if(done(ctx))
{ {
+5 -4
View File
@@ -181,8 +181,6 @@ int main(int argc, char **argv)
BPAlloc_Free(alloc); BPAlloc_Free(alloc);
} }
Executable_Dump(exe);
// Execute // Execute
{ {
Runtime *runtime = Runtime_New(-1, -1); Runtime *runtime = Runtime_New(-1, -1);
@@ -329,8 +327,11 @@ int main(int argc, char **argv)
} }
case DISASSEMBLY: case DISASSEMBLY:
fprintf(stderr, "Not implemented yet.\n"); {
return 1; Executable_Dump(exe);
return 1;
}
} }
return 0; return 0;
} }