mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
missed change
missed explicit value
This commit is contained in:
parent
8cf5fac497
commit
baa977eed8
|
|
@ -650,7 +650,7 @@ yyreport_syntax_error (const yypcontext_t *ctx)
|
|||
output += "\n";
|
||||
for (int i = 0; i < lines.size(); i++)
|
||||
{
|
||||
int line = 10 - i;
|
||||
int line = lines.size() - i;
|
||||
output += String::ToString("%5d | ", loc->first_line - (line-1)) + lines[i] + "\n";
|
||||
}
|
||||
output += String::ToString("%5s | %*s", "", loc->first_column, "^");
|
||||
|
|
|
|||
|
|
@ -3357,7 +3357,7 @@ yyreport_syntax_error (const yypcontext_t *ctx)
|
|||
output += "\n";
|
||||
for (int i = 0; i < lines.size(); i++)
|
||||
{
|
||||
int line = 10 - i;
|
||||
int line = lines.size() - i;
|
||||
output += String::ToString("%5d | ", loc->first_line - (line-1)) + lines[i] + "\n";
|
||||
}
|
||||
output += String::ToString("%5s | %*s", "", loc->first_column, "^");
|
||||
|
|
|
|||
Loading…
Reference in a new issue