summaryrefslogtreecommitdiffstats
path: root/src/doc.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-08-11 20:15:10 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-08-11 20:15:10 (GMT)
commitd033ece659ef73379802b0c3d6b6f718f79b0436 (patch)
tree9e4492a0b5642a047896b46030df4d8a97e2f4f8 /src/doc.l
parentd40e1dfafbd027f004d0506d4ed072437e8c0a48 (diff)
downloadDoxygen-d033ece659ef73379802b0c3d6b6f718f79b0436.zip
Doxygen-d033ece659ef73379802b0c3d6b6f718f79b0436.tar.gz
Doxygen-d033ece659ef73379802b0c3d6b6f718f79b0436.tar.bz2
Release-1.2.17-20020811
Diffstat (limited to 'src/doc.l')
-rw-r--r--src/doc.l14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/doc.l b/src/doc.l
index e7eeb6d..23b96ec 100644
--- a/src/doc.l
+++ b/src/doc.l
@@ -1,4 +1,4 @@
-/*****************************************************************************
+/****************************************************************************
*
*
*
@@ -31,7 +31,6 @@
#include <qregexp.h>
// new experimental parser
-#include "docparser.h"
#include "debug.h"
#include "doc.h"
@@ -446,7 +445,10 @@ static QCString stripKnownExtensions(const char *text)
{
QCString result=text;
if (result.right(4)==".tex") result=result.left(result.length()-4);
- else if (result.right(htmlFileExtensionLength)==htmlFileExtension) result=result.left(result.length()-htmlFileExtensionLength);
+ else if (result.right(Doxygen::htmlFileExtension.length())==Doxygen::htmlFileExtension)
+ {
+ result=result.left(result.length()-Doxygen::htmlFileExtension.length());
+ }
//printf("%s stripKnowExtensions(%s)\n",result.data(),text);
return result;
}
@@ -1928,9 +1930,9 @@ LINKMASK [a-z_A-Z0-9:#.,~&*/\[\]<>()\-\+]+({B}*("const"|"volatile"))?
internalRefAnchor.resize(0);
BEGIN(DocInternalRef);
}
-<DocInternalRef>[A-Z_a-z0-9.:\-\+]+ {
+<DocInternalRef>[A-Z_a-z0-9.:#\-\+]+ {
internalRefFile=yytext;
- int i = internalRefFile.find(':');
+ int i = internalRefFile.find('#');
if (i!=-1)
{
internalRefAnchor=internalRefFile.right(internalRefFile.length()-i-1);
@@ -2947,7 +2949,7 @@ void parseDoc(OutputDocInterface &od,const char *fileName,int startLine,
if (Debug::isFlagSet(Debug::Validate))
{
- validatingParseDoc(fileName,startLine,docStr);
+ od.parseDoc(fileName,startLine,clName,md,docStr);
}
strcpy(yyFileName,fileName);