summaryrefslogtreecommitdiff
path: root/src/lfunc.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-06 08:15:05 +0100
committerBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-06 08:15:05 +0100
commitdfe6b5f2c1bde6900f81f1bb6ddc49724baa0471 (patch)
treec3888f58ae7aba18c44a5859606c191b9b70b550 /src/lfunc.js
parent86a09b63a6a316ee0855ce1d5307ea89f0b6f1ec (diff)
downloadfengari-dfe6b5f2c1bde6900f81f1bb6ddc49724baa0471.tar.gz
fengari-dfe6b5f2c1bde6900f81f1bb6ddc49724baa0471.tar.bz2
fengari-dfe6b5f2c1bde6900f81f1bb6ddc49724baa0471.zip
RETURN follow lua's source more accurately
Diffstat (limited to 'src/lfunc.js')
-rw-r--r--src/lfunc.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lfunc.js b/src/lfunc.js
index 929dae8..abc87e8 100644
--- a/src/lfunc.js
+++ b/src/lfunc.js
@@ -17,6 +17,7 @@ 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
}
}