diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-03-02 09:54:45 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-03-02 11:02:43 +0100 |
commit | 490ee0d109671b6f7e9d3d56e8122f41647fed4c (patch) | |
tree | 4300c4e89e678859a1777ca1c3dd5ee8d16c3b37 /src/lparser.js | |
parent | 61168b0ab774e7be6deb1573fbcc9b1a53a37f4e (diff) | |
download | fengari-490ee0d109671b6f7e9d3d56e8122f41647fed4c.tar.gz fengari-490ee0d109671b6f7e9d3d56e8122f41647fed4c.tar.bz2 fengari-490ee0d109671b6f7e9d3d56e8122f41647fed4c.zip |
[Parsing tests] FORPREP, FORLOOP
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 c21563f..9c52c59 100644 --- a/src/lparser.js +++ b/src/lparser.js @@ -902,7 +902,7 @@ const simpleexp = function(ls, v) { constructor | FUNCTION body | suffixedexp */ switch (ls.t.token) { case R.TK_FLT: { - init_exp(v, expkind.VFLT, 0); + init_exp(v, expkind.VKFLT, 0); v.u.nval = ls.t.seminfo.r; break; } |