From e4aa81d1a47b8be0c0843e8554e0877a3dc79db9 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 22 Aug 2021 14:37:09 +0200 Subject: [PATCH] fixup! abacus: parse: use BigNum instead of int --- src/parse/parser-driver.cc | 4 ++++ src/parse/parser-driver.hh | 1 + 2 files changed, 5 insertions(+) diff --git a/src/parse/parser-driver.cc b/src/parse/parser-driver.cc index cb5739d..2b1122f 100644 --- a/src/parse/parser-driver.cc +++ b/src/parse/parser-driver.cc @@ -28,6 +28,10 @@ yy::location const& ParserDriver::location() const { return current_location_; } +ParserDriver::numeric_type& ParserDriver::result() { + return result_; +} + ParserDriver::numeric_type const& ParserDriver::result() const { return result_; } diff --git a/src/parse/parser-driver.hh b/src/parse/parser-driver.hh index 9262c70..5cb09de 100644 --- a/src/parse/parser-driver.hh +++ b/src/parse/parser-driver.hh @@ -22,6 +22,7 @@ public: yy::location& location(); yy::location const& location() const; + numeric_type& result(); numeric_type const& result() const; private: