(variable_expand): Fix braino in last change.

This commit is contained in:
Roland McGrath 1995-01-15 16:33:35 +00:00
parent 258dad0f9a
commit 2cbfa1024a

View file

@ -256,7 +256,7 @@ variable_expand (line)
any variable references inside are now expanded.
Is the resultant text a substitution reference? */
colon = index (beg, ':');
colon = lindex (beg, end, ':');
if (colon != 0)
{
/* This looks like a substitution reference: $(FOO:A=B). */