X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d554e5da38a90760e92b7b0e4a66dbaef71a2d54..8cbc39e803460d493c2783c4474123a3b1817c03:/src/common/doslex.c diff --git a/src/common/doslex.c b/src/common/doslex.c index 3dbdde99ed..be7be146d1 100644 --- a/src/common/doslex.c +++ b/src/common/doslex.c @@ -145,7 +145,7 @@ int read(); } \ while ( 0 ) #else -// suppress expression always false warning +/* suppress expression always false warning */ int os2var = 0; #define YY_FATAL_ERROR(msg) \ do \ @@ -252,7 +252,9 @@ static int my_unput(char); if ( (result = read( fileno(yyin), (char *) buf, max_size )) < 0 ) \ YY_FATAL_ERROR( "read() in flex scanner failed" ); #else -# undef unput +# ifndef unput +# undef unput +# endif # define unput(_c) my_unput(_c) #endif @@ -775,7 +777,7 @@ case YY_STATE_EOF(INITIAL): } } #if defined(__VISAGECPP__) -// VA complains about proc maybe not returning a value so return one +/* VA complains about proc maybe not returning a value so return one */ return 0; #endif }