]> sourceware.org Git - automake.git/commitdiff
* automake.in (value_to_list): Skip *only* trailing backslashes.
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Wed, 7 Apr 1999 09:08:55 +0000 (09:08 +0000)
committerAlexandre Oliva <oliva@dcc.unicamp.br>
Wed, 7 Apr 1999 09:08:55 +0000 (09:08 +0000)
ChangeLog
automake.in

index 5fe076702f0e2dde0b960e7019f78c72bf4b861e..8367d9577cd805fec7b2d3cdc5664233ead9759b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-04-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * automake.in (value_to_list): Skip *only* trailing backslashes.
+
 1999-04-07  Pavel Roskin  <pavel_roskin@geocities.com>
 
        * automake.in (value_to_list): Skip trailing backslashes.
index 524847e90042a02bc84a05fa1a7e9ea688493eeb..1f319712361a9796bb977c85924680c104046cfc 100755 (executable)
@@ -5550,17 +5550,14 @@ sub value_to_list
     local ($var, $val, $cond) = @_;
     local (@result);
 
+    # Strip backslashes
+    $val =~ s/\\(\n|$)/ /g;
+
     foreach (split (' ', $val))
     {
        # If a comment seen, just leave.
        last if /^#/;
 
-       # Strip backslashes
-       s/\\$//;
-
-       # Skip empty lines
-       next if /^$/;
-
        # Handle variable substitutions.
        if (/^\$\{([^}]*)\}$/ || /^\$\(([^)]*)\)$/)
        {
This page took 0.042959 seconds and 5 git commands to generate.