mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 22:09:17 +02:00
* class property without write support
This commit is contained in:
parent
e3dc06bceb
commit
0869bc80e9
@ -604,8 +604,13 @@ unit pexpr;
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
p1:=genzeronode(errorn);
|
if ppropertysym(sym)^.proptype^.deftype=objectdef then
|
||||||
Message(parser_e_no_procedure_to_access_property);
|
pd:=ppropertysym(sym)^.proptype
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
p1:=genzeronode(errorn);
|
||||||
|
Message(parser_e_no_procedure_to_access_property);
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
@ -1981,7 +1986,10 @@ unit pexpr;
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.95 1999-04-19 06:10:08 florian
|
Revision 1.96 1999-04-19 09:13:47 peter
|
||||||
|
* class property without write support
|
||||||
|
|
||||||
|
Revision 1.95 1999/04/19 06:10:08 florian
|
||||||
* property problem fixed: a propertysym is only a write
|
* property problem fixed: a propertysym is only a write
|
||||||
access if it is followed by a assignment token
|
access if it is followed by a assignment token
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user