* const parameters were not prevented from becoming regvars (causing

errors later on in the code generating stage)
This commit is contained in:
Jonas Maebe 2000-05-25 07:44:11 +00:00
parent 7ceb2d28fd
commit 298f787233

View File

@ -343,8 +343,11 @@ implementation
end;
end;
if defcoll^.paratyp=vs_var then
if defcoll^.paratyp in [vs_var,vs_const] then
begin
{ Causes problems with const ansistrings if also }
{ done for vs_const (JM) }
if defcoll^.paratyp = vs_var then
set_unique(p^.left);
make_not_regable(p^.left);
end;
@ -1233,7 +1236,11 @@ implementation
end.
{
$Log$
Revision 1.85 2000-05-09 14:16:00 pierre
Revision 1.86 2000-05-25 07:44:11 jonas
* const parameters were not prevented from becoming regvars (causing
errors later on in the code generating stage)
Revision 1.85 2000/05/09 14:16:00 pierre
* calling interrupt routine supported
Revision 1.84 2000/04/24 12:48:38 peter