version 1.48, 2000/06/23 16:21:43 |
version 1.49, 2000/06/23 16:23:26 |
|
|
Parse_DoVar (line, ctxt) |
Parse_DoVar (line, ctxt) |
char *line; /* a line guaranteed to be a variable |
char *line; /* a line guaranteed to be a variable |
* assignment. This reduces error checks */ |
* assignment. This reduces error checks */ |
SymTable *ctxt; /* Context in which to do the assignment */ |
GSymT *ctxt; /* Context in which to do the assignment */ |
{ |
{ |
char *cp; /* pointer into line */ |
char *cp; /* pointer into line */ |
enum { |
enum { |
|
|
Boolean oldOldVars = oldVars; |
Boolean oldOldVars = oldVars; |
|
|
oldVars = FALSE; |
oldVars = FALSE; |
cp = Var_Subst(cp, ctxt, FALSE); |
cp = Var_Subst(cp, (SymTable *)ctxt, FALSE); |
oldVars = oldOldVars; |
oldVars = oldOldVars; |
|
|
Var_Set(line, cp, ctxt); |
Var_Set(line, cp, ctxt); |