/* * This file is part of the Cforall project * * $Id: lex.h,v 1.1 2002/02/06 16:17:30 rcbilson Exp $ * * Prototypes that enable Roskind's c5.y to compile with g++ * Richard Bilson 5 Jan 2001 * */ #ifndef PARSER_LEX_H #define PARSER_LEX_H int yylex(); void yyerror(char *); extern int yylineno; extern char *yyfilename; extern "C" { #include } struct token { std::string *str; char *filename; int lineno; }; /* External declarations for information sharing between lexer and scanner */ #include "TypedefTable.h" extern TypedefTable typedefTable; #endif // ifndef PARSER_LEX_H