diff options
author | Eric Blake <ebb9@byu.net> | 2007-05-25 17:27:35 +0000 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2007-09-21 15:48:20 -0600 |
commit | 7ed3c2134bec666b9f3dca805e25ffa123ca7f1a (patch) | |
tree | 136b5959eff705fc06d7ebf96cdeab9d4195d8b7 /NEWS | |
parent | 3d3c14aa5a90e2dfe2d01e8f6b38803b77ab15ca (diff) | |
download | m4-7ed3c2134bec666b9f3dca805e25ffa123ca7f1a.tar.gz |
Fix sync line interaction with multiline comments.
* doc/m4.texinfo (Other Incompatibilities): Add example, and
document bug in --syncline/divert interaction.
(Preprocessor features): Augment test.
* src/m4.h (output_text): Export.
(shipout_text, next_token): Add parameter.
* src/freeze.c (reload_frozen_state): Don't interfere with
synclines when reloading state.
* src/output.c (output_text): Export.
(shipout_text): Take new parameter for start line of token.
Output at most one syncline per token.
* src/input.c (next_token): Report line where multiline tokens
start.
* src/macro.c (expand_input, expand_token, expand_argument):
Adjust callers so that line is passed from input to output.
* NEWS: Document this fix.
Reported by Sergey Poznyakoff.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6,6 +6,8 @@ Version 1.4.10 - ?? ??? 2007, by ???? (CVS version 1.4.9a) * Fix regression introduced in 1.4.9 in the `eval' builtin when performing division. +* The synclines option `-s' no longer generates sync lines in the middle of + multiline comments or quoted strings. * Work around a number of corner-case POSIX compliance bugs in various broken stdio libraries. In particular, the `syscmd' builtin behaves more predictably when stdin is seekable. |