summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-04-30 19:40:09 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-04-30 19:40:09 (GMT)
commitea4b32cb910635a50467b02f36b5521337451cf0 (patch)
tree88964bce49d3ab4b0f329d945d43a87b443ed019 /src/doctokenizer.l
parent2eef94da7bc476987b1a46690bbdaeb76a05dd82 (diff)
downloadDoxygen-ea4b32cb910635a50467b02f36b5521337451cf0.zip
Doxygen-ea4b32cb910635a50467b02f36b5521337451cf0.tar.gz
Doxygen-ea4b32cb910635a50467b02f36b5521337451cf0.tar.bz2
Release-1.3-20030430
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r--src/doctokenizer.l10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
index 0ed018d..031d5ec 100644
--- a/src/doctokenizer.l
+++ b/src/doctokenizer.l
@@ -30,7 +30,7 @@
#include "section.h"
#include "membergroup.h"
#include "definition.h"
-#include "page.h"
+#include "doxygen.h"
#define YY_NEVER_INTERACTIVE 1
@@ -45,7 +45,6 @@ static QString g_fileName;
static bool g_insidePre;
// context for section finding phase
-static PageInfo *g_pageInfo;
static Definition *g_definition;
static MemberGroup *g_memberGroup;
static QCString g_secLabel;
@@ -217,10 +216,6 @@ static void processSection()
{
file = g_definition->getOutputFileBase();
}
- else if (g_pageInfo)
- {
- file = g_pageInfo->getOutputFileBase();
- }
else
{
warn(g_fileName,yylineno,"Found section/anchor %s without context\n",g_secLabel.data());
@@ -809,14 +804,13 @@ LABELID [a-z_A-Z][a-z_A-Z0-9\-]*
//--------------------------------------------------------------------------
-void doctokenizerYYFindSections(const char *input,PageInfo *pi,Definition *d,
+void doctokenizerYYFindSections(const char *input,Definition *d,
MemberGroup *mg,const char *fileName)
{
if (input==0) return;
g_inputString = input;
//printf("parsing --->`%s'<---\n",input);
g_inputPos = 0;
- g_pageInfo = pi;
g_definition = d;
g_memberGroup = mg;
g_fileName = fileName;