Panda3D
Loading...
Searching...
No Matches
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
23void egg_init_lexer(std::istream &in, const std::string &filename);
24void egg_cleanup_lexer();
25void egg_start_group_body();
26void egg_start_texture_body();
27void egg_start_primitive_body();
28int egg_error_count();
29int egg_warning_count();
30
31void eggyyerror(const std::string &msg);
32void eggyyerror(std::ostringstream &strm);
33
34void eggyywarning(const std::string &msg);
35void eggyywarning(std::ostringstream &strm);
36
37int eggyylex();
38
39// always read from files
40#define YY_NEVER_INTERACTIVE 1
41
42#endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.