* fixed proc()=expr which was not allowed anymore by my previous fix

This commit is contained in:
peter 1998-08-15 16:50:29 +00:00
parent 1b24a06769
commit 49e9cc95b0

View File

@ -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)