Don't reset the function pointer in leaveCallContext()
authorLars Knoll <lars.knoll@digia.com>
Thu, 13 Dec 2012 11:11:47 +0000 (12:11 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Thu, 13 Dec 2012 11:38:26 +0000 (12:38 +0100)
commit1db8ff269d7965ec514d7e2f35940b4d758a6987
treeae8820e5b4fb2f406a3d08a4c6311565a0ab627f
parent9edd6967753c16512c8c589f3dedcae02687070a
Don't reset the function pointer in leaveCallContext()

We need the function pointer to be able to map variable names
correctly. Fixes the remaining problems with nested functions
and closures.

Change-Id: I976be2df57b93edb3b762afc33790c4483430b05
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
qmljs_environment.cpp