mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 11:09:19 +02:00
* fixed proc()=expr which was not allowed anymore by my previous fix
This commit is contained in:
parent
1b24a06769
commit
49e9cc95b0
@ -1035,7 +1035,7 @@ unit pexpr;
|
||||
end;
|
||||
pd:=pprocvardef(pd)^.retdef;
|
||||
{ proc():= is never possible }
|
||||
if token in [ASSIGNMENT,UNEQUAL,EQUAL] then
|
||||
if token=ASSIGNMENT then
|
||||
begin
|
||||
Message(cg_e_illegal_expression);
|
||||
p1:=genzeronode(errorn);
|
||||
@ -1829,7 +1829,10 @@ unit pexpr;
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.35 1998-08-14 18:18:46 peter
|
||||
Revision 1.36 1998-08-15 16:50:29 peter
|
||||
* fixed proc()=expr which was not allowed anymore by my previous fix
|
||||
|
||||
Revision 1.35 1998/08/14 18:18:46 peter
|
||||
+ dynamic set contruction
|
||||
* smallsets are now working (always longint size)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user