]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/deprecated/doslex.c
Tinderbox build fix (wxCococa).
[wxWidgets.git] / contrib / src / deprecated / doslex.c
index f067467fa9788875ade73782763ca5ebe237f852..d63b9b2590f76d0d2bcfe197f8b008f7b08dc51d 100644 (file)
@@ -4,6 +4,8 @@
  * $Header$
        Last change:  JS   13 Jul 97    6:17 pm
  */
+/* Copyright: (c) Julian Smart */
+/* Licence:   wxWindows Licence */
 
 #define FLEX_SCANNER
 
@@ -66,7 +68,7 @@
     #define YY_USE_CONST
   #endif
 
-  #ifdef __MINGW32__
+  #if defined(__MINGW32__) || defined(__WATCOMC__)
     #include <io.h>
   #endif
 
@@ -680,10 +682,10 @@ do_action:        /* this label is used only to access EOF actions */
         {
           loop:
             #ifdef __cplusplus
-                          while (yyinput() != '*');
+                          while (yyinput() != '*') ;
                           switch (yyinput())
             #else
-                          while (input() != '*');
+                          while (input() != '*') ;
                           switch (input())
             #endif
               {