diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2017-10-25 14:50:32 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2017-10-31 16:02:40 +0100 |
commit | 01d7f77f65c3a2b83978b1f00c87b54f00647816 (patch) | |
tree | 32a83b8c529b0bc10917520918a49774ed32be9a /odf/odf_ExpressionParser.mly | |
parent | 85231845871c841089308c9bc92569d36cb548db (diff) |
Update sheet traversal
Diffstat (limited to 'odf/odf_ExpressionParser.mly')
-rwxr-xr-x | odf/odf_ExpressionParser.mly | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/odf/odf_ExpressionParser.mly b/odf/odf_ExpressionParser.mly index 9731699..1b60e1c 100755 --- a/odf/odf_ExpressionParser.mly +++ b/odf/odf_ExpressionParser.mly @@ -43,7 +43,10 @@ value: | LETTERS COLON EQ expr EOF {$4} expr: - | num {Value (Num ((snd $1), Some (u(fst $1))))} + | num {Value (Num ( + Number, + DataType.Num.of_num @@ snd $1 + ))} | MINUS expr {Call (F.sub, [$2])} | PLUS expr {Call (F.add, [$2])} |