Skip to content

Commit 80e3f76

Browse files
committed
Merge branch 'master' of github.com:doxygen/doxygen
2 parents 0239254 + 9ef11ee commit 80e3f76

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/scanner.l

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2269,8 +2269,8 @@ NONLopt [^\n]*
22692269
yyextra->delimiter = &yytext[1];
22702270
BEGIN(HereDocEnd);
22712271
}
2272-
<HereDocEnd>^{ID} { // id at start of the line could mark the end of the block
2273-
if (yyextra->delimiter==yytext) // it is the end marker
2272+
<HereDocEnd>^{Bopt}{ID} { // id at start of the line could mark the end of the block
2273+
if (yyextra->delimiter==QCString(yytext).stripWhiteSpace()) // it is the end marker
22742274
{
22752275
BEGIN(yyextra->lastHereDocContext);
22762276
}

src/sitemap.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ void Sitemap::finalize()
7272
void Sitemap::addIndexFile(const QCString & fileName)
7373
{
7474
QCString fn = fileName;
75-
QCString sidemapUrl = Config_getString(SITEMAP_URL);
75+
QCString sitemapUrl = Config_getString(SITEMAP_URL);
7676
addHtmlExtensionIfMissing(fn);
7777
p->doc << " <url>\n";
78-
p->doc << " <loc>" << convertToXML(sidemapUrl + fn) << "</loc>\n";
78+
p->doc << " <loc>" << convertToXML(sitemapUrl + fn) << "</loc>\n";
7979
p->doc << " </url>\n";
8080
}
8181

0 commit comments

Comments
 (0)