Skip to content

Commit

Permalink
Inline VHDL code
Browse files Browse the repository at this point in the history
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
  • Loading branch information
albert-github committed Jan 30, 2019
1 parent 6009d38 commit 9848c46
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/vhdlcode.l
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 9848c46

Please sign in to comment.