summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);