mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 21:58:18 +02:00
codetools: expreval: reading closing bracket if last char
git-svn-id: trunk@22850 -
This commit is contained in:
parent
830714131b
commit
5fd00cffab
@ -1379,7 +1379,7 @@ var
|
||||
begin
|
||||
BracketOpen:=AtomStart;
|
||||
BracketLvl:=0;
|
||||
while p<ExprEnd do begin
|
||||
while p<=ExprEnd do begin
|
||||
case AtomStart^ of
|
||||
'(': inc(BracketLvl);
|
||||
')':
|
||||
|
Loading…
Reference in New Issue
Block a user