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)
|
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
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user