Skip to content

Commit

Permalink
error message is a tad more verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
mabako committed Aug 26, 2014
1 parent d4db78a commit d7ef4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sq-compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

void compile_error_handler(HSQUIRRELVM v, const SQChar* desc, const SQChar* source, SQInteger line, SQInteger column)
{
std::cerr << "Error in " << source << ":" << line << ":" << column << ", " << desc << std::endl;
std::cerr << "Error in " << source << " on line " << line << " column " << column << ": " << desc << std::endl;
}

int main(int argc, char** argv)
Expand Down

0 comments on commit d7ef4ce

Please sign in to comment.