Переглянути джерело

clean up minor build warnings

cxgeorge 24 роки тому
батько
коміт
555f8d3e24
2 змінених файлів з 5 додано та 0 видалено
  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