diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-08-11 20:15:10 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-08-11 20:15:10 (GMT) |
commit | d033ece659ef73379802b0c3d6b6f718f79b0436 (patch) | |
tree | 9e4492a0b5642a047896b46030df4d8a97e2f4f8 /src/doc.l | |
parent | d40e1dfafbd027f004d0506d4ed072437e8c0a48 (diff) | |
download | Doxygen-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.l | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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); |