#include "cgen.h" #include #include int cgen_param(const struct fn *fn, const struct stentry *e) { const struct pr *pr = fn->pr; const char *name = e->tk->s; for (size_t i = 0; i < pr->nparams; i++) if (!strcmp(pr->params[i].tk->s, name)) return 1; return 0; }