Personal tools
You are here: Home Projects C++ Cfront releases Release 1.0 Source cfront src tqueue.h
Document Actions

tqueue.h

by Paul McJones last modified 2007-02-02 09:35

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);
« March 2024 »
Su Mo Tu We Th Fr Sa
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: