summaryrefslogtreecommitdiff
path: root/src/lfunc.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-12 17:12:08 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-12 17:12:08 +1000
commit7ab3254e90780bacfd096de84eab31778ae09a26 (patch)
treeb46e0552d0ad7d2552a02dc47c9c152de83b4270 /src/lfunc.js
parentef82425b8828de7c825c6d61e93e6c5a47d84348 (diff)
downloadfengari-7ab3254e90780bacfd096de84eab31778ae09a26.tar.gz
fengari-7ab3254e90780bacfd096de84eab31778ae09a26.tar.bz2
fengari-7ab3254e90780bacfd096de84eab31778ae09a26.zip
.is_vararg should be a boolean
Diffstat (limited to 'src/lfunc.js')
-rw-r--r--src/lfunc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lfunc.js b/src/lfunc.js
index 40c0905..7e324da 100644
--- a/src/lfunc.js
+++ b/src/lfunc.js
@@ -17,7 +17,7 @@ class Proto {
this.lineinfo = []; // map from opcodes to source lines (debug information)
this.upvalues = []; // upvalue information
this.numparams = 0; // number of fixed parameters
- this.is_vararg = 0;
+ this.is_vararg = false;
this.maxstacksize = 0; // number of registers needed by this function
this.locvars = []; // information about local variables (debug information)
this.linedefined = 0; // debug information