Panda3D
Loading...
Searching...
No Matches
xLexerDefs.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 xLexerDefs.h
10 * @author drose
11 * @date 2004-10-03
12 */
13
14#ifndef XLEXERDEFS_H
15#define XLEXERDEFS_H
16
17#include "pandatoolbase.h"
18
19void x_init_lexer(std::istream &in, const std::string &filename);
20int x_error_count();
21int x_warning_count();
22
23void xyyerror(const std::string &msg);
24void xyyerror(const std::string &msg, int line_number, int col_number,
25 const std::string &current_line);
26void xyywarning(const std::string &msg);
27
28int xyylex();
29
30extern int x_line_number;
31extern int x_col_number;
32extern char x_current_line[];
33
34#endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.