00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef XLEXERDEFS_H
00016 #define XLEXERDEFS_H
00017
00018 #include "pandatoolbase.h"
00019
00020 void x_init_lexer(istream &in, const string &filename);
00021 int x_error_count();
00022 int x_warning_count();
00023
00024 void xyyerror(const string &msg);
00025 void xyyerror(const string &msg, int line_number, int col_number,
00026 const string ¤t_line);
00027 void xyywarning(const string &msg);
00028
00029 int xyylex();
00030
00031 extern int x_line_number;
00032 extern int x_col_number;
00033 extern char x_current_line[];
00034
00035 #endif