Make it possible to ``.undef ${VAR}'' (expanding VAR to get

the variable name to undef).

Submitted by:	Cyrille Lefevre
This commit is contained in:
Ruslan Ermilov 2004-03-09 17:36:55 +00:00
parent f25ee08633
commit 577cf233eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126779

View file

@ -2393,6 +2393,7 @@ Parse_File(char *name, FILE *stream)
*cp2 = '\0';
cp = Var_Subst(NULL, cp, VAR_CMD, FALSE);
Var_Delete(cp, VAR_GLOBAL);
goto nextLine;
}