From a4cbe2f7cabe1dd4bb91c8e3909c53c0bd3dc44d Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 8 May 2017 15:21:43 +1000 Subject: src/lparser.js: Send localvarliterals via caching table --- src/lparser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lparser.js b/src/lparser.js index 740fab1..57869d0 100644 --- a/src/lparser.js +++ b/src/lparser.js @@ -255,7 +255,7 @@ const new_localvar = function(ls, name) { }; const new_localvarliteral = function(ls, name) { - new_localvar(ls, defs.to_luastring(name, true)); + new_localvar(ls, llex.luaX_newstring(ls, defs.to_luastring(name, true))); }; const getlocvar = function(fs, i) { -- cgit v1.2.3-70-g09d2