diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-07-13 06:09:49 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-07-13 06:09:49 -0700 |
commit | d4edf83788a8c0842a31c2eb896463d59967206c (patch) | |
tree | 0f0262f3f9eb1650ec8aec4ed109dc0ad7b8b40a | |
parent | e1b76996ce822915896408e084695bda4bbcb465 (diff) | |
download | txr-d4edf83788a8c0842a31c2eb896463d59967206c.tar.gz txr-d4edf83788a8c0842a31c2eb896463d59967206c.tar.bz2 txr-d4edf83788a8c0842a31c2eb896463d59967206c.zip |
* 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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | parser.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -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 @@ -207,7 +207,7 @@ except: } *stream = make_stdio_stream(in, spec_file_try); - *name = spec_file; + *name = spec_file_try; } } |