File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change @@ -72,10 +72,10 @@ void Sitemap::finalize()
7272void 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
You can’t perform that action at this time.
0 commit comments