Annotation of coherent/a/usr/src/libl/ctxt.c, 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 "lexlib.h"
                      7: char   illctx[] = "illegal argument to yyswitch";
                      8: yyctxt(new, size)
                      9: {
                     10:        static old = 0;
                     11:        register tmp;
                     12: 
                     13:        if (new < 0 || new >= size)
                     14:                error(illctx);
                     15:        ll_ctxt = yy_lextab + yy_ctxtab[new];
                     16:        tmp = old;
                     17:        old = new;
                     18:        return (tmp);
                     19: }

unix.superglobalmegacorp.com

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