diff options
-rw-r--r-- | src/commentcnv.l | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l index bd4ed5c..f3367a4 100644 --- a/src/commentcnv.l +++ b/src/commentcnv.l @@ -728,16 +728,19 @@ MAILADR ("mailto:")?[a-z_A-Z0-9.+-]+"@"[a-z_A-Z0-9-]+("."[a-z_A-Z0-9\-]+)+[a-z yyextra->inRoseComment=FALSE; BEGIN(Scan); } +<ReadLine>"/**" { + copyToOutput(yyscanner,"/‍**",8); + } <ReadLine>"*/" { copyToOutput(yyscanner,"*‍/",7); } <ReadLine>"*" { copyToOutput(yyscanner,yytext,(int)yyleng); } -<ReadLine>[^\\@\n\*]* { +<ReadLine>[^\\@\n\*/]* { copyToOutput(yyscanner,yytext,(int)yyleng); } -<ReadLine>[^\\@\n\*]*/\n { +<ReadLine>[^\\@\n\*/]*/\n { copyToOutput(yyscanner,yytext,(int)yyleng); BEGIN(yyextra->readLineCtx); } |