mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
Removed unnecessary (and troublesome) vrmlyy_flex_debug
This commit is contained in:
parent
4c526c7194
commit
8277b718b9
@ -61,8 +61,6 @@ static istream *inp = NULL;
|
|||||||
// can print it out for error messages.
|
// can print it out for error messages.
|
||||||
static string vrml_filename;
|
static string vrml_filename;
|
||||||
|
|
||||||
int vrmlyy_flex_debug = 0;
|
|
||||||
|
|
||||||
extern void vrmlyyerror(const string &);
|
extern void vrmlyyerror(const string &);
|
||||||
|
|
||||||
/* The YACC parser sets this to a token to direct the lexer */
|
/* The YACC parser sets this to a token to direct the lexer */
|
||||||
@ -84,7 +82,6 @@ static MFArray *mfarray;
|
|||||||
|
|
||||||
void
|
void
|
||||||
vrml_init_lexer(istream &in, const string &filename) {
|
vrml_init_lexer(istream &in, const string &filename) {
|
||||||
vrmlyy_flex_debug = 0;
|
|
||||||
inp = ∈
|
inp = ∈
|
||||||
vrml_filename = filename;
|
vrml_filename = filename;
|
||||||
line_number = 0;
|
line_number = 0;
|
||||||
@ -226,8 +223,6 @@ idRestChar ([^\x00-\x20\x22\x23\x27\x2b-\x2c\x2e\x5b-\x5d\x7b\x7d])
|
|||||||
/* just told us that we've read a field name */
|
/* just told us that we've read a field name */
|
||||||
/* and should expect a field value (or IS) */
|
/* and should expect a field value (or IS) */
|
||||||
if (expectToken != 0) {
|
if (expectToken != 0) {
|
||||||
if (vrmlyy_flex_debug)
|
|
||||||
fprintf(stderr,"LEX--> Start State %d\n", expectToken);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Annoying. This big switch is necessary because
|
* Annoying. This big switch is necessary because
|
||||||
|
Loading…
x
Reference in New Issue
Block a user