|
|
1.1 ! root 1: /*ident "@(#)ctrans:src/tqueue.h 1.1.1.2" */ ! 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: extern int queue_toks; // TRUE if tokens should be queued ! 19: struct toknode { ! 20: TOK tok; /* token for parser */ ! 21: YYSTYPE retval; /* $arg */ ! 22: toknode* next; ! 23: toknode* last; ! 24: toknode(TOK,YYSTYPE); ! 25: ~toknode(); ! 26: }; ! 27: extern toknode* front; ! 28: extern toknode* rear; ! 29: ! 30: //extern int deltok(int ); /* take tok from front of Q */ ! 31: ! 32: extern void addtok(TOK,YYSTYPE); /* add tok to rear of Q */ ! 33: extern TOK deltok(int); /* take tok from front of Q */ ! 34: extern TOK tlex(); ! 35: extern TOK lalex(); ! 36: extern YYSTYPE yylval;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.