summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/commentcnv.l7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index bd4ed5c..5b521ef 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("/&zwj;**",8);
+ }
<ReadLine>"*/" {
copyToOutput(yyscanner,"*&zwj;/",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);
}