Lines Matching refs:dp
89 register DEFBUF *dp; /* -> new definition */ local
96 if ((dp = lookid(c)) == NULL) /* If not known now */
97 dp = defendel(token, FALSE); /* Save the name */
100 old = dp->repl; /* Remember replacement */
101 dp->repl = NULL; /* No replacement now */
164 checkparm(c, dp); /* Might be a formal */
174 stparmscan(c, dp); /* Do string magic */
208 dp->repl = savestring(work); /* Save the string */
209 dp->nargs = nargs; /* Save arg count */
212 dumpadef("macro definition", dp);
214 dumpadef(NULL, dp);
217 if ((old != NULL && dp->repl != NULL && !streq(old, dp->repl))
218 || (old == NULL && dp->repl != NULL)
219 || (old != NULL && dp->repl == NULL)) {
221 cerror("Redefining defined variable \"%s\"", dp->name);
223 cwarn("Redefining defined variable \"%s\"", dp->name);
236 void checkparm(int c, DEFBUF* dp) argument
258 if (streq(dp->name, token)) /* Macro name in body? */
265 void stparmscan(delim, dp) argument
267 register DEFBUF *dp;
289 checkparm(c, dp);