codetools: expreval: reading closing bracket if last char

git-svn-id: trunk@22850 -
This commit is contained in:
mattias 2009-11-28 12:59:13 +00:00
parent 830714131b
commit 5fd00cffab

View File

@ -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);
')':