Merge pull request #1307 from Azaezel/alpha41/loglunk

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

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