Annotation of researchv10no/cmd/cfront/ocfront/tqueue.h, revision 1.1

1.1     ! root        1: /*ident        "@(#)ctrans:src/tqueue.h        1.1.1.6" */
        !             2: /**************************************************************************
        !             3: 
        !             4:         C++ source for cfront, the C++ compiler front-end
        !             5:         written in the computer science research center of Bell Labs
        !             6: 
        !             7:         Copyright (c) 1984 AT&T, Inc. All Rights Reserved
        !             8:         THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T, INC.
        !             9: 
        !            10: tqueue.h:
        !            11: 
        !            12: *****************************************************************************/
        !            13: 
        !            14: #ifndef EOF
        !            15: #include <stdio.h>
        !            16: #endif
        !            17: 
        !            18: struct toknode {
        !            19:        TOK      tok;                   /* token for parser */
        !            20:        bit      used;                  /* token has been processed by lalex() */
        !            21:        YYSTYPE  retval;                        /* $arg */
        !            22:        loc      place;
        !            23:        toknode* next;
        !            24:        toknode* last;
        !            25:                toknode(TOK,YYSTYPE,loc);
        !            26:                ~toknode();
        !            27: };
        !            28: extern toknode* front;
        !            29: extern toknode* rear;
        !            30: 
        !            31: extern void addtok(TOK,YYSTYPE,loc);   /* add tok to rear of Q */
        !            32: extern TOK deltok(int);                        /* take tok from front of Q */
        !            33: extern TOK tlex();
        !            34: 
        !            35: // interface to parser
        !            36: extern TOK lalex();
        !            37: extern int yychar;
        !            38: extern YYSTYPE yylval;
        !            39: extern TOK     la_look();
        !            40: extern void    la_backup( TOK, YYSTYPE );
        !            41: extern int     la_cast();
        !            42: extern void    check_decl();
        !            43: extern void    check_cast();
        !            44: extern TOK     lalex();
        !            45: 
        !            46: // save / restore implicit inline functions
        !            47: extern toknode*        save_text();
        !            48: extern void    restore_text();

unix.superglobalmegacorp.com

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