Skip to content

Commit

Permalink
JSREPL: fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
VasiliyRyabtsev committed Nov 1, 2024
1 parent d20908b commit de353f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/repl/native.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static void compile_error_handler(HSQUIRRELVM /*v*/, SQMessageSeverity sev, cons
const SQChar *sevName = "error";
if (sev == SEV_HINT) sevName = "hint";
else if (sev == SEV_WARNING) sevName = "warning";
output += vaformat("Squirrel compile %s %s (%d:%d): %s", sevText, source, int(line), int(column), desc);
output += vaformat("Squirrel compile %s: %s (%d:%d): %s", sevName, source, int(line), int(column), desc);
if (extra_info)
{
output += "\n";
Expand Down

0 comments on commit de353f1

Please sign in to comment.