We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14fc65f commit 937520cCopy full SHA for 937520c
src/commentcnv.l
@@ -241,11 +241,11 @@ CPPC "/\/"
241
242
// Optional any character
243
ANYopt .*
244
-
245
// Optional white space
246
WSopt [ \t\r]*
247
// readline non special
248
-RLopt [^\\@<\n\*\/`]*
+RLopt [^ \\@<\n\*\/`]*
+RLopt1 [^\\@<\n\*\/`]*
249
// Optional slash
250
SLASHopt [/]*
251
@@ -1061,7 +1061,7 @@ SLASHopt [/]*
1061
<ReadLine,CopyLine>{RLopt} {
1062
copyToOutput(yyscanner,yytext,yyleng);
1063
}
1064
-<ReadLine,CopyLine>{RLopt}/\n {
+<ReadLine,CopyLine>{RLopt1}/\n {
1065
1066
yyextra->insertCppCommentMarker=false;
1067
BEGIN(yyextra->readLineCtx);
0 commit comments