Panda3D
lexerDefs.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file lexerDefs.h
10  * @author drose
11  * @date 1999-01-17
12  */
13 
14 #ifndef LEXER_H
15 #define LEXER_H
16 
17 #include "pandabase.h"
18 
19 #include "typedef.h"
20 
21 #include <string>
22 
23 void egg_init_lexer(std::istream &in, const std::string &filename);
24 void egg_start_group_body();
25 void egg_start_texture_body();
26 void egg_start_primitive_body();
27 int egg_error_count();
28 int egg_warning_count();
29 
30 void eggyyerror(const std::string &msg);
31 void eggyyerror(std::ostringstream &strm);
32 
33 void eggyywarning(const std::string &msg);
34 void eggyywarning(std::ostringstream &strm);
35 
36 int eggyylex();
37 
38 // always read from files
39 #define YY_NEVER_INTERACTIVE 1
40 
41 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.