diff options
author | Eric Blake <ebb9@byu.net> | 2006-10-11 17:07:03 +0000 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2007-09-21 15:27:33 -0600 |
commit | f83de5a0bac93f08778382d3f766525154d15be7 (patch) | |
tree | aa54c57f748933ae921a7e9f0dcc1e17c046c2ce /NEWS | |
parent | 9c8b7c3f8d57d4283b0f98daf5805682412c0594 (diff) | |
download | m4-f83de5a0bac93f08778382d3f766525154d15be7.tar.gz |
* src/macro.c (expand_macro): In macro expansion errors, report
line number at open parenthesis.
* src/input.c (next_token): Fix off-by-one bug in reporting end
of file in unterminated comment and string.
(file_names): New obstack, necessary since expand_macro now hangs
on to file names longer than the files remain open.
(input_init): Initialize new obstack.
(push_file): Use new obstack. Delay updates to current_file
until after expand_macro has restored state.
(peek_input, next_char_1): Update current_file if necessary.
(pop_wrapup): Release memory.
* doc/m4.texinfo (Macro Arguments, Changequote, Changecom): Catch
the off-by-one bug.
(Dnl): Update to the new location reporting rules.
* NEWS: Document these changes.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -13,6 +13,9 @@ Version 1.4.8 - ?? ??? 2006, by ?? (CVS version 1.4.7a) overflow. * Problems encountered when writing to standard error, such as with the `errprint' macro, now always cause a non-zero exit status. +* Warnings and errors issued during macro expansion are now consistently + reported at the line where the macro name was detected, rather than + where the close parenthesis resides. Version 1.4.7 - 25 September 2006, by Eric Blake (CVS version 1.4.6a) |