correct malformed error reporting

This commit is contained in:
AzaezelX 2024-08-28 17:14:42 -05:00
parent 0d07823ecd
commit 24a1636edd

View file

@ -3363,7 +3363,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;
}