(uxnasm) Print scope on error

This commit is contained in:
Devine Lu Linvega 2024-03-01 17:37:36 -08:00
parent a5ff070dd0
commit d322e787fa
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}