Panda3D
|
00001 // Filename: dcLexerDefs.h 00002 // Created by: drose (05Oct00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef DCLEXERDEFS_H 00016 #define DCLEXERDEFS_H 00017 00018 #include "dcbase.h" 00019 00020 void dc_init_lexer(istream &in, const string &filename); 00021 void dc_start_parameter_value(); 00022 void dc_start_parameter_description(); 00023 int dc_error_count(); 00024 int dc_warning_count(); 00025 00026 void dcyyerror(const string &msg); 00027 void dcyywarning(const string &msg); 00028 00029 int dcyylex(); 00030 00031 // we always read files 00032 #define YY_NEVER_INTERACTIVE 1 00033 #endif