From: Tom Tromey Date: Sun, 27 Sep 1998 19:12:20 +0000 (+0000) Subject: * automake.in (read_am_file): Treat backslash-newline as X-Git-Tag: Release-1-3d~77 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=46372ed6fea3ecf30fd7472767f167843473ae7f;p=automake.git * automake.in (read_am_file): Treat backslash-newline as whitespace. Test parse.test. --- diff --git a/ChangeLog b/ChangeLog index 78b80a7a..456f30ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Sep 27 20:02:21 1998 Tom Tromey + + * automake.in (read_am_file): Treat backslash-newline as + whitespace. Test parse.test. + Sat Sep 26 19:31:22 1998 Tom Tromey * configure: Rebuilt. diff --git a/automake.in b/automake.in index 714b4dc7..3f7e5c61 100755 --- a/automake.in +++ b/automake.in @@ -5310,10 +5310,11 @@ sub read_am_file $am_vars .= join ('', @conditional_stack) . $_; $saw_bk = /\\$/; # Chop newline and backslash if this line is - # continued. FIXME: maybe ensure trailing whitespace - # exists? + # continued. ensure trailing whitespace exists. chop if $saw_bk; chop if $saw_bk; + $contents{$last_var_name} .= ' ' + unless $contents{$last_var_name} =~ /\s$/; $contents{$last_var_name} .= $_; if (@conditional_stack) {