bugfix
This commit is contained in:
@@ -399,7 +399,6 @@ static Node *parse_expression_statement(Context *ctx)
|
||||
static Node *parse_string_primary_expression(Context *ctx)
|
||||
{
|
||||
assert(ctx != NULL);
|
||||
assert(ctx->token->kind == TSTRING);
|
||||
|
||||
if(done(ctx))
|
||||
{
|
||||
|
||||
+4
-3
@@ -181,8 +181,6 @@ int main(int argc, char **argv)
|
||||
BPAlloc_Free(alloc);
|
||||
}
|
||||
|
||||
Executable_Dump(exe);
|
||||
|
||||
// Execute
|
||||
{
|
||||
Runtime *runtime = Runtime_New(-1, -1);
|
||||
@@ -329,9 +327,12 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
case DISASSEMBLY:
|
||||
fprintf(stderr, "Not implemented yet.\n");
|
||||
{
|
||||
Executable_Dump(exe);
|
||||
return 1;
|
||||
}
|
||||
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user