Panda3D
pandatool
src
xfile
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
19
void
x_init_lexer(std::istream &in,
const
std::string &filename);
20
int
x_error_count();
21
int
x_warning_count();
22
23
void
xyyerror(
const
std::string &msg);
24
void
xyyerror(
const
std::string &msg,
int
line_number,
int
col_number,
25
const
std::string ¤t_line);
26
void
xyywarning(
const
std::string &msg);
27
28
int
xyylex();
29
30
extern
int
x_line_number;
31
extern
int
x_col_number;
32
extern
char
x_current_line[];
33
34
#endif
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Mon Sep 14 2020 15:07:12 for Panda3D by
1.8.20