00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef LEXER_H
00016 #define LEXER_H
00017
00018 #include "pandabase.h"
00019
00020 #include "typedef.h"
00021
00022 #include <string>
00023
00024 void egg_init_lexer(istream &in, const string &filename);
00025 void egg_start_group_body();
00026 void egg_start_texture_body();
00027 void egg_start_primitive_body();
00028 int egg_error_count();
00029 int egg_warning_count();
00030
00031 void eggyyerror(const string &msg);
00032 void eggyyerror(ostringstream &strm);
00033
00034 void eggyywarning(const string &msg);
00035 void eggyywarning(ostringstream &strm);
00036
00037 int eggyylex();
00038
00039
00040 #define YY_NEVER_INTERACTIVE 1
00041
00042 #endif