Annotation of coherent/a/usr/src/libl/lexlib.h, revision 1.1.1.1

1.1       root        1: /* (-lgl
                      2:  *     COHERENT Version 3.1
                      3:  *     Copyright (c) 1982, 1990 by Mark Williams Company.
                      4:  *     All rights reserved. May not be copied without permission.
                      5:  -lgl) */
                      6: #include <stdio.h>
                      7: #include <sys/mdata.h>
                      8: 
                      9: #define        YYTSIZE         255
                     10: #define        QSIZE           MAXUCHAR
                     11: #define        qpt(q,c)        ((++q.ll_qc),(q.ll_qs[q.ll_qi++&QSIZE]=(c)))
                     12: #define        qug(q,c)        ((++q.ll_qc),(q.ll_qs[--q.ll_qo&QSIZE]=(c)))
                     13: #define        qgt(q)          ((--q.ll_qc),(q.ll_qs[q.ll_qo++&QSIZE]))
                     14: #define        qlk(q,n)        (q.ll_qs[q.ll_qo+n&QSIZE])
                     15: #define        qct(q)          (q.ll_qc)
                     16: 
                     17: extern struct ll_queue {
                     18:        unsigned char   ll_qc;
                     19:        unsigned char   ll_qi;
                     20:        unsigned char   ll_qo;
                     21:        int             ll_qs[QSIZE+1];
                     22: }                      ll_tq;
                     23: extern char            yytext[YYTSIZE];
                     24: extern int             yy_lextab[];
                     25: extern int             yy_lxctab[];
                     26: extern int             yy_lxbtab[];
                     27: extern int             yy_ctxtab[];
                     28: extern int             *yy_clist[];
                     29: extern int             *yy_nlist[];
                     30: extern int             *yy_llist[];
                     31: extern int             *ll_ctxt;
                     32: extern int             ll_cc;
                     33: extern int             ll_lc;
                     34: extern int             ll_tf;
                     35: extern int             ll_lf;
                     36: extern int             ll_tokn;
                     37: extern int             ll_tlen;
                     38: extern int             ll_more;
                     39: extern int             yyscon;
                     40: extern int             yyleng;
                     41: extern char            inpovf[];
                     42: extern char            yytovf[];
                     43: extern char            illchr[];
                     44: extern int             _llic();
                     45: extern int             _lloc();

unix.superglobalmegacorp.com

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