diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-08 15:21:43 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-08 15:31:56 +1000 |
commit | a4cbe2f7cabe1dd4bb91c8e3909c53c0bd3dc44d (patch) | |
tree | efbf401b02852389689d12bc294bd45d5f1caf85 /src/lparser.js | |
parent | 66f3914bc7bec57df742ca2126a44e4248aa7f2c (diff) | |
download | fengari-a4cbe2f7cabe1dd4bb91c8e3909c53c0bd3dc44d.tar.gz fengari-a4cbe2f7cabe1dd4bb91c8e3909c53c0bd3dc44d.tar.bz2 fengari-a4cbe2f7cabe1dd4bb91c8e3909c53c0bd3dc44d.zip |
src/lparser.js: Send localvarliterals via caching table
Diffstat (limited to 'src/lparser.js')
-rw-r--r-- | src/lparser.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |