We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d28f414 + dd97834 commit 0a79923Copy full SHA for 0a79923
src/scanner.l
@@ -2269,8 +2269,8 @@ NONLopt [^\n]*
2269
yyextra->delimiter = &yytext[1];
2270
BEGIN(HereDocEnd);
2271
}
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
+<HereDocEnd>^{Bopt}{ID} { // id at start of the line could mark the end of the block
+ if (yyextra->delimiter==QCString(yytext).stripWhiteSpace()) // it is the end marker
2274
{
2275
BEGIN(yyextra->lastHereDocContext);
2276
0 commit comments