mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 04:59:26 +02:00
compiler: fix nested class types and consts usage outside class declaration
git-svn-id: trunk@14615 -
This commit is contained in:
parent
c39c87096a
commit
6e51a4d4a9
@ -1250,10 +1250,14 @@ implementation
|
||||
end;
|
||||
typesym:
|
||||
begin
|
||||
p1.free;
|
||||
p1:=ctypenode.create(ttypesym(sym).typedef);
|
||||
if not(block_type in [bt_type,bt_const_type,bt_var_type]) then
|
||||
p1:=cloadvmtaddrnode.create(p1);
|
||||
end;
|
||||
constsym:
|
||||
begin
|
||||
p1.free;
|
||||
p1:=genconstsymtree(tconstsym(sym));
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user