diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-15 10:46:26 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-15 10:46:26 +0900 |
commit | b7b8bd24feb1363d7d84d030b9ea688fe2f149de (patch) | |
tree | 83a30b06a24a934bb4120199cd0c180ece6fc1ed /src/vhdlcode.l | |
parent | 046aece77e373b5280b56bf871fa6e974d06e85d (diff) | |
download | doxygen-b7b8bd24feb1363d7d84d030b9ea688fe2f149de.tar.gz doxygen-b7b8bd24feb1363d7d84d030b9ea688fe2f149de.tar.bz2 doxygen-b7b8bd24feb1363d7d84d030b9ea688fe2f149de.zip |
Imported Upstream version 1.8.4upstream/1.8.4
Diffstat (limited to 'src/vhdlcode.l')
-rw-r--r-- | src/vhdlcode.l | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/src/vhdlcode.l b/src/vhdlcode.l index b3d24d1..8e20419 100644 --- a/src/vhdlcode.l +++ b/src/vhdlcode.l @@ -1,6 +1,6 @@ /****************************************************************************** * - * Copyright (C) 1997-2012 by Dimitri van Heesch. + * Copyright (C) 1997-2013 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -412,7 +412,7 @@ static void writeMultiLineCodeLink(CodeOutputInterface &ol, static void setParameterList(MemberDef *md) { g_classScope = md->getClassDef() ? md->getClassDef()->name().data() : ""; - LockingPtr<ArgumentList> al = md->argumentList(); + ArgumentList *al = md->argumentList(); if (al==0) return; Argument *a = al->first(); while (a) @@ -450,7 +450,6 @@ static void generateFuncLink(CodeOutputInterface &ol,MemberDef* mdef) addToSearchIndex(memberName); return; } - ol.linkableSymbol(g_yyLineNr,memberName,0,g_currentMemberDef?g_currentMemberDef:g_currentDefinition); codifyLines(memberName.data()); addToSearchIndex(memberName); } // generateFuncLink @@ -493,7 +492,6 @@ static void generateMemLink(CodeOutputInterface &ol,QCString &clName,QCString& m return; } // nothing found, just write out the word - ol.linkableSymbol(g_yyLineNr,memberName,0,g_currentMemberDef?g_currentMemberDef:g_currentDefinition); codifyLines(memberName.data()); addToSearchIndex(memberName); }// generateMemLink @@ -521,10 +519,6 @@ static void generateClassOrGlobalLink(CodeOutputInterface &ol,const char *clName //{ // temp=VhdlDocGen::getClassName(cd); //} - ol.linkableSymbol(g_yyLineNr,temp,cd, - g_currentMemberDef ? - g_currentMemberDef : - g_currentDefinition); writeMultiLineCodeLink(ol,cd->getReference(), cd->getOutputFileBase(), cd->anchor(), @@ -545,7 +539,6 @@ static void generateClassOrGlobalLink(CodeOutputInterface &ol,const char *clName } // nothing found, just write out the word - ol.linkableSymbol(g_yyLineNr,clName,0,g_currentMemberDef?g_currentMemberDef:g_currentDefinition); codifyLines(clName); addToSearchIndex(clName); }// generateClasss or global link @@ -1515,7 +1508,7 @@ void parseVhdlCode(CodeOutputInterface &od,const char *className,const QCString if (memberDef) { ClassDef *dd=memberDef->getClassDef(); - if (dd) g_CurrClass=dd->className(); + if (dd) g_CurrClass=dd->name(); startLine--; } resetVhdlCodeParserState(); @@ -1573,7 +1566,7 @@ void parseVhdlCode(CodeOutputInterface &od,const char *className,const QCString { setParameterList(memberDef); } - int iLine=countLines(); + /*int iLine=*/countLines(); vhdlcodeYYrestart( vhdlcodeYYin ); BEGIN( Bases ); vhdlcodeYYlex(); @@ -1588,7 +1581,7 @@ void parseVhdlCode(CodeOutputInterface &od,const char *className,const QCString delete g_sourceFileDef; g_sourceFileDef=0; } - assert(g_yyLineNr==iLine); + return; } |