summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authormueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:39:36 (GMT)
committermueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:39:36 (GMT)
commit74cc4d70240d09e10c9da94c0537670fc287a85e (patch)
tree46bbaf2d590cf1e2edf1bc86a8d7000a2012dc0d /src/scanner.l
parent5576fbf6d0a8baa16fa65a37a172543397ee950a (diff)
downloadDoxygen-74cc4d70240d09e10c9da94c0537670fc287a85e.zip
Doxygen-74cc4d70240d09e10c9da94c0537670fc287a85e.tar.gz
Doxygen-74cc4d70240d09e10c9da94c0537670fc287a85e.tar.bz2
mods for doxygen-0.49-991117
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 26c0a08..9e13ff2 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -127,7 +127,6 @@ static bool inBugBlock;
static bool inWarningBlock;
static bool inParBlock;
static bool firstSeeArg;
-static bool javaDocSee;
static char afterDocTerminator;
static int tmpDocType;
static QCString sectionLabel;
@@ -200,7 +199,6 @@ static void initParser()
inWarningBlock = FALSE;
inParBlock = FALSE;
firstSeeArg = FALSE;
- javaDocSee = FALSE;
}
//-----------------------------------------------------------------------------
@@ -707,8 +705,12 @@ static QCString findAndCopyImage(const char *fileName,ImageTypes type)
}
else
{
- warn("Warning: image file %s is not found. ",fileName);
- warn("Check your IMAGE_PATH\n");
+ result=fileName;
+ if (result.left(5)!="http:")
+ {
+ warn("Warning: image file %s is not found in IMAGE_PATH: "
+ "assuming external image. ",fileName);
+ }
}
return result;
}
@@ -1243,7 +1245,6 @@ VAR [vV][aA][rR]
if (inBlock()) endBlock();
inSeeBlock=TRUE;
//firstSeeArg=TRUE;
- //javaDocSee=!strcmp(yytext,"@see");
outDoc->startDescList();
//outDoc->writeBoldString("See also: ");
outDoc->startBold();
@@ -1439,8 +1440,8 @@ VAR [vV][aA][rR]
<DocImage>[lL][aA][tT][eE][xX] {
BEGIN(DocLatexImageName);
}
-<DocHtmlImageName>{FILE} {
- curImageName = findAndCopyImage(yytext,IT_Html);
+<DocHtmlImageName>{FILE}|{URLMASK} {
+ curImageName = findAndCopyImage(stripQuotes(yytext),IT_Html);
if (!curImageName.isEmpty())
{
storeOutputListState();
@@ -1451,7 +1452,7 @@ VAR [vV][aA][rR]
BEGIN(DocScan);
}
<DocLatexImageName>{FILE} {
- curImageName = findAndCopyImage(yytext,IT_Latex);
+ curImageName = findAndCopyImage(stripQuotes(yytext),IT_Latex);
if (curImageName.isEmpty())
BEGIN(DocScan);
else