diff options
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r-- | src/commentcnv.l | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l index 036f830..b92381a 100644 --- a/src/commentcnv.l +++ b/src/commentcnv.l @@ -348,6 +348,16 @@ NUMBER {INTEGER_NUMBER}|{FLOAT_NUMBER} yyextra->commentStack.push(new CommentCtx(yyextra->lineNr)); } } +<Scan>"--"[^!][^\n]* { + if (yyextra->lang!=SrcLangExt_VHDL) + { + REJECT; + } + else + { + copyToOutput(yyscanner,yytext,(int)yyleng); + } + } <Scan>"--!" { if (yyextra->lang!=SrcLangExt_VHDL) { |