summaryrefslogtreecommitdiff
path: root/src/lparser.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-03-02 09:54:45 +0100
committerBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-03-02 11:02:43 +0100
commit490ee0d109671b6f7e9d3d56e8122f41647fed4c (patch)
tree4300c4e89e678859a1777ca1c3dd5ee8d16c3b37 /src/lparser.js
parent61168b0ab774e7be6deb1573fbcc9b1a53a37f4e (diff)
downloadfengari-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.js2
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;
}