Commit 496c3bb5 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 701919 - VHDL cross-references fail when unpaired apostrophe present

parent 397c31a2
...@@ -320,7 +320,10 @@ void replaceComment(int offset); ...@@ -320,7 +320,10 @@ void replaceComment(int offset);
<Scan>' { <Scan>' {
copyToOutput(yytext,(int)yyleng); copyToOutput(yytext,(int)yyleng);
g_charContext = YY_START; g_charContext = YY_START;
BEGIN(SkipChar); if (g_lang!=SrcLangExt_VHDL)
{
BEGIN(SkipChar);
}
} }
<Scan>\n { /* new line */ <Scan>\n { /* new line */
copyToOutput(yytext,(int)yyleng); copyToOutput(yytext,(int)yyleng);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment