mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 03:48:08 +02:00
PascalScript: Update from orig: SHA-1: ff9f866b9f2588af17a5372ae52124a6ae15e044
* Add support of interface-variable to Assigned function git-svn-id: trunk@43049 -
This commit is contained in:
parent
e2ed2e625c
commit
df849420fc
@ -8087,7 +8087,9 @@ function TPSPascalCompiler.ProcessSub(BlockInfo: TPSBlockInfo): Boolean;
|
||||
result := nil;
|
||||
exit;
|
||||
end;
|
||||
if (GetTypeNo(BlockInfo, NewVar) = nil) or ((GetTypeNo(BlockInfo, NewVar).BaseType <> btClass) and
|
||||
if (GetTypeNo(BlockInfo, NewVar) = nil) or
|
||||
((GetTypeNo(BlockInfo, NewVar).BaseType <> btClass) and
|
||||
(GetTypeNo(BlockInfo, NewVar).BaseType <> btInterface) and
|
||||
(GetTypeNo(BlockInfo, NewVar).BaseType <> btPChar) and
|
||||
(GetTypeNo(BlockInfo, NewVar).BaseType <> btString)) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user