Lines Matching defs:type
73 int type; /* type of field */
88 static struct str *nodestr[MAXTYPES]; /* type of structure used by the node */
164 char type[BUFLEN];
172 if (! nextfield(type))
173 error("No field type");
176 if (strcmp(type, "nodeptr") == 0) {
177 fp->type = T_NODE;
179 } else if (strcmp(type, "nodelist") == 0) {
180 fp->type = T_NODELIST;
182 } else if (strcmp(type, "string") == 0) {
183 fp->type = T_STRING;
185 } else if (strcmp(type, "int") == 0) {
186 fp->type = T_INT;
188 } else if (strcmp(type, "other") == 0) {
189 fp->type = T_OTHER;
190 } else if (strcmp(type, "temp") == 0) {
191 fp->type = T_TEMP;
193 error("Unknown type %s", type);
195 if (fp->type == T_OTHER || fp->type == T_TEMP) {
242 fprintf(hfile, " int type;\n");
299 fputs(" funcblocksize += nodesize[n->type];\n", cfile);
302 fputs(" funcblock = (char *)funcblock + nodesize[n->type];\n", cfile);
304 fputs(" switch (n->type) {\n", cfile);
312 switch (fp->type) {
361 fputs(" new->type = n->type;\n", cfile);