Merge pull request #1308 from Azaezel/alpha41/loglunk2

(backup) correct malformed error reporting
This commit is contained in:
Brian Roberts 2024-08-28 17:23:08 -05:00 committed by GitHub
commit bb81b687eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;
}