mirror of
https://github.com/mirror/make.git
synced 2025-02-11 12:20:39 +08:00
(variable_expand): Fix braino in last change.
This commit is contained in:
parent
258dad0f9a
commit
2cbfa1024a
2
expand.c
2
expand.c
@ -256,7 +256,7 @@ variable_expand (line)
|
|||||||
any variable references inside are now expanded.
|
any variable references inside are now expanded.
|
||||||
Is the resultant text a substitution reference? */
|
Is the resultant text a substitution reference? */
|
||||||
|
|
||||||
colon = index (beg, ':');
|
colon = lindex (beg, end, ':');
|
||||||
if (colon != 0)
|
if (colon != 0)
|
||||||
{
|
{
|
||||||
/* This looks like a substitution reference: $(FOO:A=B). */
|
/* This looks like a substitution reference: $(FOO:A=B). */
|
||||||
|
Loading…
Reference in New Issue
Block a user