Lines Matching refs:tokenp
390 void expand(DEFBUF* tokenp) argument
409 dumpadef("expand entry", tokenp);
416 macro = tokenp;
418 cerror("Recursive macro definition of \"%s\"", tokenp->name);
434 switch (tokenp->nargs) {
455 if (tokenp->nargs < 0)
456 cfatal("Bug: Illegal __ macro \"%s\"", tokenp->name);
468 cwarn("Macro \"%s\" needs arguments", tokenp->name);
469 fputs(tokenp->name, pCppOut );
473 if (tokenp->nargs != nargs) { /* Should be an error? */
475 tokenp->name);
483 expstuff(tokenp); /* Do actual parameters */
549 void expstuff(DEFBUF* tokenp) argument
565 file = getfile(NBUFF, tokenp->name);
566 inp = tokenp->repl; /* -> macro replacement */
602 tokenp->name);