summaryrefslogtreecommitdiff
path: root/src/llex.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-05-13 20:32:47 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-13 20:32:47 +0200
commit29445c09adc02dcf2f904bdb589bd7cb2b2931b5 (patch)
tree364a60c972da8eeb709b7b5e726510f3a8e1480f /src/llex.js
parentac1b5edf6c6026a9f097223dff45e0435fe946ef (diff)
downloadfengari-29445c09adc02dcf2f904bdb589bd7cb2b2931b5.tar.gz
fengari-29445c09adc02dcf2f904bdb589bd7cb2b2931b5.tar.bz2
fengari-29445c09adc02dcf2f904bdb589bd7cb2b2931b5.zip
Removed useless save(0) in llex
Diffstat (limited to 'src/llex.js')
-rw-r--r--src/llex.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llex.js b/src/llex.js
index 2e37eca..0825146 100644
--- a/src/llex.js
+++ b/src/llex.js
@@ -315,7 +315,7 @@ const txtToken = function(ls, token) {
switch (token) {
case R.TK_NAME: case R.TK_STRING:
case R.TK_FLT: case R.TK_INT:
- save(ls, 0);
+ // save(ls, 0);
return defs.to_luastring(`'${defs.to_jsstring(ls.buff.buffer)}'`);
default:
return luaX_token2str(ls, token);