diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 1999-12-15 19:36:24 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 1999-12-15 19:36:24 (GMT) |
commit | a54eecdf4b3c961ff41bc5d3ea6f21713e08f903 (patch) | |
tree | c32965e6b0858adc9a1f108b7b4d909568efd52e /src/code.l | |
parent | 1d4e23de96d6e6065089a909ccba321fe5fa7f28 (diff) | |
download | Doxygen-a54eecdf4b3c961ff41bc5d3ea6f21713e08f903.zip Doxygen-a54eecdf4b3c961ff41bc5d3ea6f21713e08f903.tar.gz Doxygen-a54eecdf4b3c961ff41bc5d3ea6f21713e08f903.tar.bz2 |
mods for doxygen-0.49-991003
Diffstat (limited to 'src/code.l')
-rw-r--r-- | src/code.l | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -213,7 +213,10 @@ static bool getLink(const char *className, // exampleFile.data()); if (md->addExample(anchor,exampleName,exampleFile)) { + bool latexEnabled = result.isEnabled(OutputGenerator::Latex); + if (latexEnabled) result.disable(OutputGenerator::Latex); result.writeAnchor(anchor); + if (latexEnabled) result.enable(OutputGenerator::Latex); anchorCount++; } } @@ -222,6 +225,7 @@ static bool getLink(const char *className, if (d) { + //printf("d->getOutputBase()=`%s' name=`%s'\n",d->getOutputFileBase().data(),md->name().data()); result.writeCodeLink(d->getReference(),d->getOutputFileBase(), md->anchor(),memberName); return TRUE; @@ -384,7 +388,7 @@ ID [a-z_A-Z][a-z_A-Z0-9]* if ((fd=findFileDef(&inputNameDict,yytext,ambig)) && fd->isLinkable()) { - code->writeCodeLink(0,fd->getOutputFileBase(),0,yytext); + code->writeCodeLink(fd->getReference(),fd->getOutputFileBase(),0,yytext); } else { |