From 5ee9dc7472166326d6f92337afb92c811e9ba037 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 1 Feb 1994 00:11:47 +0000 Subject: Formerly variable.c.~27~ --- variable.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'variable.c') 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. */ -- cgit v1.2.3