diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-12 17:12:08 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-12 17:12:08 +1000 |
commit | 7ab3254e90780bacfd096de84eab31778ae09a26 (patch) | |
tree | b46e0552d0ad7d2552a02dc47c9c152de83b4270 /src/lundump.js | |
parent | ef82425b8828de7c825c6d61e93e6c5a47d84348 (diff) | |
download | fengari-7ab3254e90780bacfd096de84eab31778ae09a26.tar.gz fengari-7ab3254e90780bacfd096de84eab31778ae09a26.tar.bz2 fengari-7ab3254e90780bacfd096de84eab31778ae09a26.zip |
.is_vararg should be a boolean
Diffstat (limited to 'src/lundump.js')
-rw-r--r-- | src/lundump.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lundump.js b/src/lundump.js index 3c35710..eeb77f4 100644 --- a/src/lundump.js +++ b/src/lundump.js @@ -212,7 +212,7 @@ class BytecodeParser { f.linedefined = this.readInt(); f.lastlinedefined = this.readInt(); f.numparams = this.readByte(); - f.is_vararg = this.readByte(); + f.is_vararg = this.readByte() !== 0; f.maxstacksize = this.readByte(); this.readCode(f); this.readConstants(f); |