wpp: allow c++ comments after #endif
Johannes E. Schindelin
Johannes.Schindelin at gmx.de
Fri Jan 10 07:03:33 CST 2003
This seems to have been just a typo.
diff -u -r1.2 ppl.l
--- tools/wpp/ppl.l 10 Jan 2003 01:49:00 -0000 1.2
+++ tools/wpp/ppl.l 10 Jan 2003 13:00:34 -0000
@@ -531,7 +531,7 @@
/*
* Remove C++ style comment (almost all start-conditions)
*/
-<INITIAL,pp_pp,pp_ignore,pp_eol,pp_inc,pp_if,pp_ifd,pp_defined,pp_def,pp_define,pp_macro,pp_mbody,pp_macscan,RCINCL>"//"[^\n]* {
+<INITIAL,pp_pp,pp_ignore,pp_eol,pp_inc,pp_if,pp_ifd,pp_endif,pp_defined,pp_def,pp_define,pp_macro,pp_mbody,pp_macscan,RCINCL>"//"[^\n]* {
if(pptext[ppleng-1] == '\\')
ppwarning("C++ style comment ends with an escaped newline (escape ignored)");
}
More information about the wine-patches
mailing list