panda3d/panda/src/egg/lexerDefs.h
2003-10-28 06:10:41 +00:00

47 lines
1.2 KiB
C++

// Filename: lexerDefs.h
// Created by: drose (17Jan99)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
//
// All use of this software is subject to the terms of the Panda 3d
// Software license. You should have received a copy of this license
// along with this source code; you will also find a current copy of
// the license at http://www.panda3d.org/license.txt .
//
// To contact the maintainers of this program write to
// panda3d@yahoogroups.com .
//
////////////////////////////////////////////////////////////////////
#ifndef LEXER_H
#define LEXER_H
#include "pandabase.h"
#include <typedef.h>
#include <string>
void egg_init_lexer(istream &in, const string &filename);
void egg_start_group_body();
void egg_start_texture_body();
void egg_start_primitive_body();
int egg_error_count();
int egg_warning_count();
void eggyyerror(const string &msg);
void eggyyerror(ostringstream &strm);
void eggyywarning(const string &msg);
void eggyywarning(ostringstream &strm);
int eggyylex();
// always read from files
#define YY_NEVER_INTERACTIVE 1
#endif