Skip to content

Commit e3930a3

Browse files
committed
Incorrect handling command character in comment conversion
Also keep escaped command characters together in case of `/**` type of comment.
1 parent a5ef5a0 commit e3930a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commentcnv.l

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -932,6 +932,7 @@ SLASHopt [/]*
932932
BEGIN(SkipString);
933933
}
934934
*/
935+
<CComment,CNComment>{CMD}{CMD} |
935936
<CComment,CNComment>. {
936937
copyToOutput(yyscanner,yytext,yyleng);
937938
}

0 commit comments

Comments
 (0)