Skip to content

Commit

Permalink
Incorrect handling command character in comment conversion
Browse files Browse the repository at this point in the history
Also keep escaped command characters together in case of `/**` type of comment.
  • Loading branch information
albert-github committed Mar 14, 2024
1 parent a5ef5a0 commit e3930a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commentcnv.l
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,7 @@ SLASHopt [/]*
BEGIN(SkipString);
}
*/
<CComment,CNComment>{CMD}{CMD} |
<CComment,CNComment>. {
copyToOutput(yyscanner,yytext,yyleng);
}
Expand Down

0 comments on commit e3930a3

Please sign in to comment.