mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-26 15:10:25 +02:00
* make all sets equal when reading an array of sets. Before it could
mix normal and small sets in the same array!
This commit is contained in:
parent
7edaf1332f
commit
f7af97c2a5
@ -414,6 +414,9 @@ implementation
|
||||
p:=comp_expr(true);
|
||||
if p.nodetype=setconstn then
|
||||
begin
|
||||
{ be sure to convert to the correct result, else
|
||||
it can generate smallset data instead of normalset (PFV) }
|
||||
inserttypeconv(p,t);
|
||||
{ we only allow const sets }
|
||||
if assigned(tsetconstnode(p).left) then
|
||||
Message(cg_e_illegal_expression)
|
||||
@ -947,7 +950,11 @@ implementation
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.34 2001-09-19 11:06:03 michael
|
||||
Revision 1.35 2001-10-20 17:24:26 peter
|
||||
* make all sets equal when reading an array of sets. Before it could
|
||||
mix normal and small sets in the same array!
|
||||
|
||||
Revision 1.34 2001/09/19 11:06:03 michael
|
||||
* realname updated for some hints
|
||||
* realname used for consts,labels
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user