From 0e5b8b49e39508bc5a30d20dcaa7118f95ffd8aa Mon Sep 17 00:00:00 2001 From: albert-github Date: Tue, 18 May 2021 16:32:40 +0200 Subject: Issue #8556 Removed bracket '(' in HTML an XML output The opening bracket was "forgotten" when the sharp count > 0 (in this case 1). the closing bracket was later on added to the name so the opening bracket is also be added to the name. --- src/scanner.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scanner.l b/src/scanner.l index 00fa3b4..4fb625f 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -1955,7 +1955,7 @@ NONLopt [^\n]* //printf("Found %s\n",qPrint(yyextra->current->name)); BEGIN( ReadFuncArgType ) ; } - else if (yyextra->sharpCount<=0) + else { yyextra->current->name+="("; yyextra->roundCount++; -- cgit v0.12