Panda3D
dcLexerDefs.h
1 // Filename: dcLexerDefs.h
2 // Created by: drose (05Oct00)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef DCLEXERDEFS_H
16 #define DCLEXERDEFS_H
17 
18 #include "dcbase.h"
19 
20 void dc_init_lexer(istream &in, const string &filename);
21 void dc_start_parameter_value();
22 void dc_start_parameter_description();
23 int dc_error_count();
24 int dc_warning_count();
25 
26 void dcyyerror(const string &msg);
27 void dcyywarning(const string &msg);
28 
29 int dcyylex();
30 
31 // we always read files
32 #define YY_NEVER_INTERACTIVE 1
33 #endif