Lines Matching refs:instructions
100 static struct tree *instructions = NULL; variable
774 p = reallocarray(instructions, newsize, sizeof(*p));
776 free(instructions);
779 instructions = p;
789 instructions[current].index = CONST_STRING; in cs()
790 instructions[current].u.cstr = str; in cs()
799 instructions[current].index = ALLOC_STRING; in as()
800 instructions[current].u.astr = strdup(str); in as()
801 if (instructions[current].u.astr == NULL) in as()
816 instructions[current++].index = arg; in node()
821 instructions[current++].index = arg; in node()
834 if (instructions[i].index >= 0) { in emit()
835 while (instructions[i].index != END_NODE && in emit()
836 instructions[i].index != i) { in emit()
837 emit(instructions[i].index, level + 1); in emit()
840 } else if (instructions[i].index != END_NODE) in emit()
841 fputs(instructions[i].u.cstr, stdout); in emit()
850 printf("]s%s\n", instructions[nodeidx].u.cstr); in emit_macro()
860 if (instructions[i].index == ALLOC_STRING) in free_tree()
861 free(instructions[i].u.astr); in free_tree()