From 496c3bb525b617d8cfce69e6a0c1a479b323e127 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sun, 4 Aug 2013 13:42:08 +0200 Subject: Bug 701919 - VHDL cross-references fail when unpaired apostrophe present --- src/commentcnv.l | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); ' { copyToOutput(yytext,(int)yyleng); g_charContext = YY_START; - BEGIN(SkipChar); + if (g_lang!=SrcLangExt_VHDL) + { + BEGIN(SkipChar); + } } \n { /* new line */ copyToOutput(yytext,(int)yyleng); -- cgit v0.12