tqueue.h
Click here to get the file
Size
1 kB
-
File type
text/x-chdr
File contents
/* @(#) tqueue.h 1.3 1/27/86 17:49:34 */
/*ident "@(#)cfront:src/tqueue.h 1.3" */
#ifndef EOF
#include <stdio.h>
#endif
extern printf( char* ...);
extern fprintf(FILE*, char* ...);
struct toknode {
TOK tok; /* token for parser */
YYSTYPE retval; /* $arg */
toknode* next;
toknode* last;
toknode(TOK,YYSTYPE);
inline ~toknode();
};
extern toknode* front;
extern toknode* rear;
extern void addtok(TOK,YYSTYPE); /* add tok to rear of Q */
extern TOK deltok(); /* take tok from front of Q */
// extern char* image(TOK);
extern void tlex();
extern TOK lalex();
extern void* malloc(unsigned);
extern YYSTYPE yylval;
extern TOK tk; // last token returned;
extern char* image(TOK);