summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2006-10-11 17:07:03 +0000
committerEric Blake <ebb9@byu.net>2007-09-21 15:27:33 -0600
commitf83de5a0bac93f08778382d3f766525154d15be7 (patch)
treeaa54c57f748933ae921a7e9f0dcc1e17c046c2ce /NEWS
parent9c8b7c3f8d57d4283b0f98daf5805682412c0594 (diff)
downloadm4-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--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3c204552..ed03d749 100644
--- a/NEWS
+++ b/NEWS
@@ -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)