summaryrefslogtreecommitdiff
path: root/src/ldo.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldo.js')
-rw-r--r--src/ldo.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ldo.js b/src/ldo.js
index f78cc9c..efb971d 100644
--- a/src/ldo.js
+++ b/src/ldo.js
@@ -549,11 +549,11 @@ const luaD_protectedparser = function(L, z, name, mode) {
p.z = z;
p.name = name;
p.mode = mode;
- p.dyd.actvar.arr = null;
+ p.dyd.actvar.arr = [];
p.dyd.actvar.size = 0;
- p.dyd.gt.arr = null;
+ p.dyd.gt.arr = [];
p.dyd.gt.size = 0;
- p.dyd.label.arr = null;
+ p.dyd.label.arr = [];
p.dyd.label.size = 0;
let status = luaD_pcall(L, f_parser, p, L.top, L.errfunc);