mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 12:59:16 +02:00
codetools: expreval: declared
git-svn-id: trunk@22805 -
This commit is contained in:
parent
3a77111581
commit
e82caa9908
@ -1425,6 +1425,12 @@ var
|
||||
// "defined V" or "defined(V)"
|
||||
if not ParseDefinedParams(Operand) then exit;
|
||||
exit(true);
|
||||
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
|
||||
if not ParseDefinedParams(Operand) then exit;
|
||||
exit(true);
|
||||
end;
|
||||
'U':
|
||||
if CompareIdentifiers(AtomStart,'UNDEFINED')=0 then begin
|
||||
|
Loading…
Reference in New Issue
Block a user