diff options
Diffstat (limited to 'dimension/utility.c')
-rw-r--r-- | dimension/utility.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dimension/utility.c b/dimension/utility.c index 17a7bba..aaee59b 100644 --- a/dimension/utility.c +++ b/dimension/utility.c @@ -45,4 +45,8 @@ dmnsn_diagnostic(dmnsn_parse_location location, const char *format, ...) fprintf(stderr, "\n"); va_end(ap); + + if (location.parent) { + dmnsn_diagnostic(*location.parent, "-- from here"); + } } |