Return to var.c CVS log | Up to [local] / src / usr.bin / make |
version 1.89, 2012/03/22 13:47:12 | version 1.90, 2012/08/25 08:12:56 | ||
---|---|---|---|
|
|
||
case '{': | case '{': | ||
/* Find eventual modifiers in the variable */ | /* Find eventual modifiers in the variable */ | ||
tstr = VarName_Get(str+2, name, ctxt, false, find_pos(str[1])); | tstr = VarName_Get(str+2, name, ctxt, false, find_pos(str[1])); | ||
if (*tstr == ':') | if (*tstr == '\0') | ||
Parse_Error(PARSE_FATAL, "Unterminated variable spec in %s", *pstr); | |||
else if (*tstr == ':') | |||
has_modifier = true; | has_modifier = true; | ||
else if (*tstr != '\0') { | else | ||
tstr++; | tstr++; | ||
} | |||
break; | break; | ||
default: | default: | ||
name->s = str+1; | name->s = str+1; |