codetools: expreval: return always true for declared

git-svn-id: trunk@22823 -
This commit is contained in:
mattias 2009-11-27 10:38:38 +00:00
parent a13feabeb5
commit 691f65044f

View File

@ -1509,8 +1509,9 @@ var
end
else if CompareIdentifiers(AtomStart,'DECLARED')=0 then begin
// should check if a pascal identifier is already declared
// can not do this here => treat as defined
// can not do this here => return always true
if not ParseDefinedParams(Operand) then exit;
SetOperandValueChar(Operand,'1');
exit(true);
end;
'H':