summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-08-04 11:42:08 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-08-04 11:42:08 (GMT)
commit496c3bb525b617d8cfce69e6a0c1a479b323e127 (patch)
treed069b07d5c27b8880113318b0758ec5a859c6319
parent397c31a2d64173c0dc50567896fee378bea2fca0 (diff)
downloadDoxygen-496c3bb525b617d8cfce69e6a0c1a479b323e127.zip
Doxygen-496c3bb525b617d8cfce69e6a0c1a479b323e127.tar.gz
Doxygen-496c3bb525b617d8cfce69e6a0c1a479b323e127.tar.bz2
Bug 701919 - VHDL cross-references fail when unpaired apostrophe present
-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);