summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--parser.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d28e85b0..0e196acc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-07-13 Kaz Kylheku <kaz@kylheku.com>
+
+ * parser.c (open_txr_file): Bugfix: the name of the parsed
+ stream should be the resolved name, not the abstract original,
+ so that error messages correlate to the file.
+
2015-07-12 Kaz Kylheku <kaz@kylheku.com>
* share/txr/stdlib/ifa.tl (ifa): Use placelet to
diff --git a/parser.c b/parser.c
index 9436cf67..b12a0a10 100644
--- a/parser.c
+++ b/parser.c
@@ -207,7 +207,7 @@ except:
}
*stream = make_stdio_stream(in, spec_file_try);
- *name = spec_file;
+ *name = spec_file_try;
}
}