]> git.ipfire.org Git - thirdparty/automake.git/commit
Correctly treat all assignments with bogus trailing comments.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 19 Apr 2009 00:19:20 +0000 (02:19 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 19 Apr 2009 07:58:48 +0000 (09:58 +0200)
commitc5635fa68f25ea688578daed8ac503b718761206
treee07dce12b5d40e8381b3ef0864c18a49ca818143
parentef895abce45ac34eddff347c4507c73155f28e07
Correctly treat all assignments with bogus trailing comments.

Before this patch, automake would silently fail to diagnose and
to copy into the output those variable assignments which are
preceded by a comment, and end in backslash newline comment.

* automake.in (read_am_file): When determining whether an
escaped newline followed by a comment is an error, correctly use
the parser state, not the contents of a saved comment, which
could still be carried over from a comment before an assignment.
* NEWS: Update.
* tests/commen11.test: New test.
* tests/Makefile.am: Update.
Report by Karl Berry.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
NEWS
automake.in
tests/Makefile.am
tests/Makefile.in
tests/commen11.test [new file with mode: 0755]