diff --git a/include/xo/parser/parser.hpp b/include/xo/parser/parser.hpp index 39d768d8..a85f3a16 100644 --- a/include/xo/parser/parser.hpp +++ b/include/xo/parser/parser.hpp @@ -245,7 +245,7 @@ namespace xo { expraction on_symbol(const token_type & tk, exprstatestack * p_stack); expraction on_colon(exprstatestack * p_stack); expraction on_singleassign(exprstatestack * p_stack); - expraction on_f64(const token_type & tk); + expraction on_f64(const token_type & tk, exprstatestack * p_stack); private: /** diff --git a/src/parser/parser.cpp b/src/parser/parser.cpp index 7302bd3b..0bbe0167 100644 --- a/src/parser/parser.cpp +++ b/src/parser/parser.cpp @@ -442,7 +442,9 @@ namespace xo { } expraction - exprstate::on_f64(const token_type & tk) { + exprstate::on_f64(const token_type & tk, + exprstatestack * /*p_stack*/) + { constexpr bool c_debug_flag = true; scope log(XO_DEBUG(c_debug_flag)); @@ -483,7 +485,7 @@ namespace xo { return expraction(); case tokentype::tk_f64: - return this->on_f64(tk); + return this->on_f64(tk, p_stack); case tokentype::tk_string: assert(false);