summaryrefslogtreecommitdiff
path: root/src/lfunc.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-06 08:55:53 +0100
committerBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-06 08:55:53 +0100
commit55db79dace02d22a7e0a6462cbf0b2b52f411639 (patch)
tree5ab9ac88f7ce7eff09d736a5adf470bbba8b4079 /src/lfunc.js
parentdfe6b5f2c1bde6900f81f1bb6ddc49724baa0471 (diff)
downloadfengari-55db79dace02d22a7e0a6462cbf0b2b52f411639.tar.gz
fengari-55db79dace02d22a7e0a6462cbf0b2b52f411639.tar.bz2
fengari-55db79dace02d22a7e0a6462cbf0b2b52f411639.zip
postcall and precall
In the tests, we just look at the last n elements of the stack to check our results. This is because the executed script itself doesn't expect any result, so we did not put results at L.top.
Diffstat (limited to 'src/lfunc.js')
-rw-r--r--src/lfunc.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lfunc.js b/src/lfunc.js
index abc87e8..929dae8 100644
--- a/src/lfunc.js
+++ b/src/lfunc.js
@@ -17,7 +17,6 @@ class Proto {
this.linedefined = 0; // debug information
this.lastlinedefined = 0; // debug information
this.source = null; // used for debug information
- this.nresults = 0; // expected number of results from this function
}
}