#define MAX_LINE 1024 char line[MAX_LINE + 1]; /* the forward/backward label stuff from icode is a nice idea, but would be easier to implement if the two types of labels had separate spaces. What's more ->userlab breaks the rules because use-defined label can be jumped to oth before and after definition. So we need a somewhat complicated scheme to know when we can throw away label tags. */ #define MAX_LINENOS (16*1024) static int lineno[MAX_LINENOS]; /* init to 0 means not used */ //static char linetype[MAX_LINENOS]; /* bitset of flags */ //#define FORWARD_LABEL 1 //#define BACKWARD_LABEL 2 //#define USER_LABEL 4 static int next_lineno = 0; int get_next_lineno (void) { return ++next_lineno; }