mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 11:29:16 +02:00
* allow recursive calls again in assembler procedure
This commit is contained in:
parent
b08f72ffa8
commit
816cfa08b3
@ -1104,7 +1104,9 @@ implementation
|
||||
if not is_void(aktprocdef.rettype.def) then
|
||||
begin
|
||||
{ insert in local symtable }
|
||||
{ but with another name, so that recursive calls are possible }
|
||||
symtablestack.insert(aktprocdef.funcretsym);
|
||||
symtablestack.rename(aktprocdef.funcretsym.name,'$result');
|
||||
end;
|
||||
{ force the asm statement }
|
||||
if token<>_ASM then
|
||||
@ -1119,7 +1121,10 @@ implementation
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.43 2001-11-02 22:58:05 peter
|
||||
Revision 1.44 2001-11-09 10:06:56 jonas
|
||||
* allow recursive calls again in assembler procedure
|
||||
|
||||
Revision 1.43 2001/11/02 22:58:05 peter
|
||||
* procsym definition rewrite
|
||||
|
||||
Revision 1.42 2001/10/26 22:36:42 florian
|
||||
|
Loading…
Reference in New Issue
Block a user