Formerly variable.c.~27~
authorRoland McGrath <roland@redhat.com>
Tue, 1 Feb 1994 00:11:47 +0000 (00:11 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 1 Feb 1994 00:11:47 +0000 (00:11 +0000)
variable.c

index e6f2c87c2d31e88ae214a3ec634908ba7fcff084..e06b5b582bfbc36f71da95bb2c941afccbfa6701 100644 (file)
@@ -1,5 +1,5 @@
 /* Internals of variables for GNU Make.
-Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
+Copyright (C) 1988, 89, 90, 91, 92, 93, 94 Free Software Foundation, Inc.
 This file is part of GNU Make.
 
 GNU Make is free software; you can redistribute it and/or modify
@@ -605,9 +605,9 @@ try_variable_definition (filename, lineno, line, origin)
        }
     }
 
-  while (isblank (end[-1]))
-    --end;
   beg = next_token (line);
+  while (end > beg && isblank (end[-1]))
+    --end;
   p = next_token (p);
 
   /* Expand the name, so "$(foo)bar = baz" works.  */