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 -2
View File
@@ -399,8 +399,7 @@ 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))
{
Error_Report(ctx->error, 0, "Source ended where a string literal was expected");