Lines Matching refs:variable

398 	return (*pc->data.variable->function)(cx, pc->data.variable, r, b + (pc->pp + 1), -pc->pp, data, disc);
422 return (r->value.variable = cxvariable(cx, b->value.string.data, a->type, disc)) ? 0 : -1;
950 " the size of an array variable is the number of elements,"
1960 * add a variable
1964 cxaddvariable(register Cx_t* cx, register Cxvariable_t* variable, Cxdisc_t* disc)
1990 if (!variable)
1992 if (dtsearch(dict, variable))
1995 (*disc->errorf)(NiL, disc, 2, "%s: variable already defined", variable->name);
1998 if (!(variable->header.flags & CX_NORMALIZED))
2000 variable->header.flags |= CX_NORMALIZED;
2001 if ((name = (char*)variable->type) && !(variable->type = cxtype(cx, name, disc)))
2004 (*disc->errorf)(NiL, disc, 2, "%s: %s: unknown type", variable->name, name);
2008 dtinsert(dict, variable);
2013 variable->header.index = sx->index++;
2017 variable->header.index = cx->index++;
2019 if (!(variable->header.flags & CX_INITIALIZED))
2021 variable->header.flags |= CX_INITIALIZED;
2022 referenced(variable->type);
2024 dtinsert(cx->fields, variable);
2030 * return variable given name
2047 (*disc->errorf)(NiL, disc, 2, "%s: variable must be local", name);
2058 (*disc->errorf)(NiL, disc, 2, "%s: undefined variable", name);
2084 (*disc->errorf)(NiL, disc, 2, "%s: undefined variable", s);
2094 ref->variable = v;
2108 (*disc->errorf)(NiL, disc, 2, "%s: struct or union variable expected", v->name);
2121 v->type = tail->variable->type;
2155 if (x.data.variable = var)
2178 x.data.variable = ref->variable;
2179 x.type = ret->type = ref->variable->type;
2184 b.type = x.data.variable->type;
2185 x.data.variable = ref->variable;
2186 ret->type = x.data.variable->type;