Browse Source

Removed unnecessary (and troublesome) vrmlyy_flex_debug

Josh Yelon 20 years ago
parent
commit
8277b718b9
1 changed files with 0 additions and 5 deletions
  1. 0 5
      pandatool/src/vrml/vrmlLexer.lxx

+ 0 - 5
pandatool/src/vrml/vrmlLexer.lxx

@@ -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