BaseXdb/basex — pull request #880 by LeoWoerteler (2014-03-02 14:14:28+00:00)
Title: Relaxed requirements for inlining function items.

* `DynFuncCall`s now keep track of the function items they were contained in. A function item can only be inlined into a call that was not itself created when inlining the same function item.
* Renamed `InlineFunc` to `Closure`.
* Moved non-local bindings from `VarScope` to `Closure` because only inline functions have a non-empty closure.