Skip to content

Commit

Permalink
Added line number to assembler errors in finderrors.c ...
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Dec 12, 2008
1 parent 675ceab commit f979598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finderrors.c
Expand Up @@ -86,7 +86,7 @@ static int do_file(const char *profile, const char *dname, const char *fn, int *
a = MOJOSHADER_assemble((char *) buf, 0, 0, 0);
if (a->error)
{
report("FAIL: %s %s\n", fname, a->error);
report("FAIL: %s (line %d) %s\n", fname, a->error_position, a->error);
return 1;
} // if

Expand Down

0 comments on commit f979598

Please sign in to comment.