summaryrefslogtreecommitdiffstats
path: root/src/vhdlcode.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-01-30 12:37:35 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-01-30 12:37:35 (GMT)
commit9848c465f740547b5bd59e963a2bec8efc47fc4a (patch)
tree17cd112e15f57c83d1b82d622202dc1a3b0bc8c3 /src/vhdlcode.l
parent6009d380def9591a6747151a461ffcc3590fefb2 (diff)
downloadDoxygen-9848c465f740547b5bd59e963a2bec8efc47fc4a.zip
Doxygen-9848c465f740547b5bd59e963a2bec8efc47fc4a.tar.gz
Doxygen-9848c465f740547b5bd59e963a2bec8efc47fc4a.tar.bz2
Inline VHDL code
Based on the example of #6805 - First line of inline documentation didn't have a line number - The line numbers in inline documentation were off by one
Diffstat (limited to 'src/vhdlcode.l')
-rw-r--r--src/vhdlcode.l6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/vhdlcode.l b/src/vhdlcode.l
index aa15183..2c5469e 100644
--- a/src/vhdlcode.l
+++ b/src/vhdlcode.l
@@ -1554,7 +1554,6 @@ void parseVhdlCode(CodeOutputInterface &od,const char *className,const QCString
{
ClassDef *dd=memberDef->getClassDef();
if (dd) g_CurrClass=dd->name();
- startLine--;
}
resetVhdlCodeParserState();
g_code = &od;
@@ -1599,10 +1598,7 @@ void parseVhdlCode(CodeOutputInterface &od,const char *className,const QCString
g_exampleFile = convertNameToFile(g_exampleName+"-example");
}
g_includeCodeFragment = inlineFragment;
- if (!memberDef)
- {
- startCodeLine();
- }
+ startCodeLine();
// g_type.resize(0);
// g_name.resize(0);
// g_args.resize(0);