From 8277b718b9ecb807112cc5a51550bba49e596261 Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Thu, 26 May 2005 22:04:10 +0000 Subject: [PATCH] Removed unnecessary (and troublesome) vrmlyy_flex_debug --- pandatool/src/vrml/vrmlLexer.lxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pandatool/src/vrml/vrmlLexer.lxx b/pandatool/src/vrml/vrmlLexer.lxx index 5c78e09a84..53a512525c 100644 --- a/pandatool/src/vrml/vrmlLexer.lxx +++ b/pandatool/src/vrml/vrmlLexer.lxx @@ -61,8 +61,6 @@ static istream *inp = NULL; // can print it out for error messages. static string vrml_filename; -int vrmlyy_flex_debug = 0; - extern void vrmlyyerror(const string &); /* The YACC parser sets this to a token to direct the lexer */ @@ -84,7 +82,6 @@ static MFArray *mfarray; void vrml_init_lexer(istream &in, const string &filename) { - vrmlyy_flex_debug = 0; inp = ∈ vrml_filename = filename; 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 */ /* and should expect a field value (or IS) */ if (expectToken != 0) { - if (vrmlyy_flex_debug) - fprintf(stderr,"LEX--> Start State %d\n", expectToken); /* * Annoying. This big switch is necessary because