]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/deprecated/doslex.c
Updated to Scintilla 1.62
[wxWidgets.git] / contrib / src / deprecated / doslex.c
index f067467fa9788875ade73782763ca5ebe237f852..2be69c9bd5aec9da57afe1e12ac5b9007cc357ea 100644 (file)
@@ -66,7 +66,7 @@
     #define YY_USE_CONST
   #endif
 
-  #ifdef __MINGW32__
+  #if defined(__MINGW32__) || defined(__WATCOMC__)
     #include <io.h>
   #endif
 
@@ -680,10 +680,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
               {