summaryrefslogtreecommitdiffstats
path: root/src/commentcnv.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r--src/commentcnv.l5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index 6e7fa30..09230eb 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -320,7 +320,10 @@ void replaceComment(int offset);
<Scan>' {
copyToOutput(yytext,(int)yyleng);
g_charContext = YY_START;
- BEGIN(SkipChar);
+ if (g_lang!=SrcLangExt_VHDL)
+ {
+ BEGIN(SkipChar);
+ }
}
<Scan>\n { /* new line */
copyToOutput(yytext,(int)yyleng);