always accept c++ comments. they have been required for a decade. Reference: /n/sources/patch/maybe/cpp-++-comm Date: Wed Apr 3 18:10:43 CES 2013 Signed-off-by: quanstro@quanstro.net --- /sys/man/1/cpp Wed Apr 3 18:10:17 2013 +++ /sys/man/1/cpp Wed Apr 3 18:10:17 2013 @@ -68,7 +68,7 @@ directives into the output. .TP .B -+ -Understand C++ comments. +Understand C++ comments. This is now the default. .TP .B -. Inhibit include search in the source's directory. --- /sys/man/1/pcc Wed Apr 3 18:10:18 2013 +++ /sys/man/1/pcc Wed Apr 3 18:10:18 2013 @@ -28,7 +28,8 @@ .B "-+ Accept C++ .B // -comments. +comments. This option is now ignored; +C++ comments are always accepted. .TP .BI -o " out" Place loader output in file --- /sys/src/cmd/cpp/lex.c Wed Apr 3 18:10:20 2013 +++ /sys/src/cmd/cpp/lex.c Wed Apr 3 18:10:19 2013 @@ -287,7 +287,7 @@ fixlex(void) { /* do C++ comments? */ - if (Cplusplus==0) + if (0 && Cplusplus==0) bigfsm['/'][COM1] = bigfsm['x'][COM1]; }