codetools: expreval: fixed searching closing bracket

git-svn-id: trunk@22867 -
This commit is contained in:
mattias 2009-11-30 08:56:44 +00:00
parent 78d2df6cba
commit 6d42a4b2d0

View File

@ -1379,7 +1379,7 @@ var
begin
BracketOpen:=AtomStart;
BracketLvl:=0;
while p<=ExprEnd do begin
while AtomStart<ExprEnd do begin
case AtomStart^ of
'(': inc(BracketLvl);
')':