Annotation of 43BSD/contrib/icon/tran/code.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Code generator parameters.
                      3:  */
                      4: 
                      5: #define LOOPDEPTH   20         /* max. depth of nested loops */
                      6: #define CASEDEPTH   10         /* max. depth of nested case statements */
                      7: #define CREATDEPTH  10         /* max. depth of nested create statements */
                      8: 
                      9: /*
                     10:  * loopstk structures hold information about nested loops.
                     11:  */
                     12: struct loopstk {
                     13:    int nextlab;                        /* label for next exit */
                     14:    int breaklab;               /* label for break exit */
                     15:    int markcount;              /* number of marks */
                     16:    int ltype;                  /* loop type */
                     17:    };
                     18: 
                     19: /*
                     20:  * casestk structure hold information about case statements.
                     21:  */
                     22: struct casestk {
                     23:    int endlab;                 /* label for exit from case statement */
                     24:    nodeptr deftree;            /* pointer to tree for default clause */
                     25:    };
                     26: 
                     27: /*
                     28:  * creatstk structures hold information about create statements.
                     29:  */
                     30: struct creatstk {
                     31:    int nextlab;                        /* previous value of nextlab */
                     32:    int breaklab;               /* previous value of breaklab */
                     33:    };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.