(uxnasm) Print scope on error
This commit is contained in:
parent
a5ff070dd0
commit
d322e787fa
|
@ -79,7 +79,7 @@ error_top(const char *name, const char *msg)
|
|||
static int
|
||||
error(const char *name, const char *msg)
|
||||
{
|
||||
fprintf(stderr, "%s: %s in %s:\n", name, msg, p.location);
|
||||
fprintf(stderr, "%s: %s in @%s, %s.\n", name, msg, p.scope, p.location);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue