Browse Source

clean up minor build warnings

cxgeorge 24 years ago
parent
commit
555f8d3e24
2 changed files with 5 additions and 0 deletions
  1. 2 0
      direct/src/dcparser/dcLexerDefs.h
  2. 3 0
      panda/src/egg/lexerDefs.h

+ 2 - 0
direct/src/dcparser/dcLexerDefs.h

@@ -30,4 +30,6 @@ void dcyywarning(const string &msg);
 
 int dcyylex();
 
+// we always read files
+#define YY_NEVER_INTERACTIVE 1
 #endif

+ 3 - 0
panda/src/egg/lexerDefs.h

@@ -40,4 +40,7 @@ void eggyywarning(ostringstream &strm);
 
 int eggyylex();
 
+// always read from files
+#define YY_NEVER_INTERACTIVE 1
+
 #endif