From 7ab3254e90780bacfd096de84eab31778ae09a26 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Fri, 12 May 2017 17:12:08 +1000 Subject: .is_vararg should be a boolean --- src/lfunc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lfunc.js') 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 -- cgit v1.2.3-54-g00ecf