Skip to content

Commit

Permalink
Let Clone_Function copy the args block of the original, letting the a…
Browse files Browse the repository at this point in the history
…rgs block identify the function and making it suitable for frame reference.

Corrects bug#2044.

git-svn-id: https://s1.saphirion.com/svn/rm-asset/trunk/r3@5251 0b15d6fc-ce89-4483-8625-0b0fabc32e25
  • Loading branch information
ladislav committed Aug 5, 2013
1 parent 1b259d0 commit 9bd75a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/c-function.c
Expand Up @@ -303,7 +303,7 @@ xx*/ REBSER *Make_Func_Words(REBSER *spec)
***********************************************************************/
{
VAL_FUNC_SPEC(value) = VAL_FUNC_SPEC(func);
VAL_FUNC_ARGS(value) = VAL_FUNC_ARGS(func);
VAL_FUNC_ARGS(value) = Copy_Block(VAL_FUNC_ARGS(func), 0);
VAL_FUNC_BODY(value) = Clone_Block(VAL_FUNC_BODY(func));
}

Expand Down

0 comments on commit 9bd75a0

Please sign in to comment.