summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-02-01 00:11:47 +0000
committerRoland McGrath <roland@redhat.com>1994-02-01 00:11:47 +0000
commit5ee9dc7472166326d6f92337afb92c811e9ba037 (patch)
tree9288833bd19002b16fe5cf5e950a6e107e26527e
parentbb55335906ca6deaaab7b3818522a695b495084b (diff)
downloadgunmake-5ee9dc7472166326d6f92337afb92c811e9ba037.tar.gz
Formerly variable.c.~27~
-rw-r--r--variable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/variable.c b/variable.c
index e6f2c87..e06b5b5 100644
--- a/variable.c
+++ b/variable.c
@@ -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. */