(backup) correct malformed error reporting

This commit is contained in:
AzaezelX 2024-08-28 17:22:44 -05:00
parent 24a1636edd
commit 30dcf0bf78

View file

@ -656,7 +656,7 @@ yyreport_syntax_error (const yypcontext_t *ctx)
output += String::ToString("%5s | %*s", "", loc->first_column, "^");
}
yyerror(output.c_str());
yyerror("%s", output.c_str());
return ret;
}