mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 20:49:26 +02:00
* allow nil^ passed to var parameter
This commit is contained in:
parent
2ce96cbca7
commit
cae7c0baee
@ -1015,6 +1015,7 @@ implementation
|
|||||||
CGMessagePos(hp.fileinfo,type_e_variable_id_expected);
|
CGMessagePos(hp.fileinfo,type_e_variable_id_expected);
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
niln,
|
||||||
pointerconstn :
|
pointerconstn :
|
||||||
begin
|
begin
|
||||||
{ to support e.g. @tmypointer(0)^.data; see tests/tbs/tb0481 }
|
{ to support e.g. @tmypointer(0)^.data; see tests/tbs/tb0481 }
|
||||||
@ -2028,7 +2029,10 @@ implementation
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.114 2005-02-02 22:16:39 florian
|
Revision 1.115 2005-02-13 20:33:57 peter
|
||||||
|
* allow nil^ passed to var parameter
|
||||||
|
|
||||||
|
Revision 1.114 2005/02/02 22:16:39 florian
|
||||||
* delphi assumes dyn. array access make expressions l-values because it's internally a pointer
|
* delphi assumes dyn. array access make expressions l-values because it's internally a pointer
|
||||||
|
|
||||||
Revision 1.113 2005/02/01 22:50:50 florian
|
Revision 1.113 2005/02/01 22:50:50 florian
|
||||||
|
Loading…
Reference in New Issue
Block a user