Lines Matching defs:mac
356 register struct ppmacro* mac;
362 if ((mac = sym->macro) && !(sym->flags & (SYM_BUILTIN|SYM_PREDEFINED)))
376 ppprintf("%d", mac->arity);
378 if (mac->arity)
380 ppprintf("%s", mac->formals);
384 ppprintf("%s", mac->value);
479 struct ppmacro* mac;
678 mac = sym->macro = newof(0, struct ppmacro, 1, 0);
683 if (mac->arity = n)
687 mac->formals = (char*)memcpy(oldof(0, char, 0, s - b), b, s - b);
692 mac->size = s - b - 1;
693 mac->value = (char*)memcpy(oldof(0, char, 0, mac->size + 1), b, mac->size + 1);
694 if (pp.test & 0x1000) error(2, "checkpoint LOAD %s=%s", sym->name, mac->value);