mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 22:50:49 +02:00
* fixed tests/test/cg/tformfnc.pp
git-svn-id: trunk@2844 -
This commit is contained in:
parent
52d95a8abc
commit
7c9cfe5e06
@ -406,7 +406,7 @@ implementation
|
|||||||
begin
|
begin
|
||||||
{ allow passing of a constant to a const formaldef }
|
{ allow passing of a constant to a const formaldef }
|
||||||
if (parasym.varspez=vs_const) and
|
if (parasym.varspez=vs_const) and
|
||||||
(left.location.loc=LOC_CONSTANT) then
|
(left.location.loc in [LOC_CONSTANT,LOC_REGISTER]) then
|
||||||
location_force_mem(exprasmlist,left.location);
|
location_force_mem(exprasmlist,left.location);
|
||||||
push_addr_para;
|
push_addr_para;
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user