From d8eb50a7960edd35c74885d0ba7897f35c1b1eed Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 19 Jan 2023 17:43:29 +0200 Subject: [IPL/T] Values now have a return value which can be parsed easily --- .../Implementation of Programming Languages/Transpiler/src/Value/Float.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Year 2/Implementation of Programming Languages/Transpiler/src/Value/Float.h') diff --git a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Float.h b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Float.h index 22cd721..0f47be1 100644 --- a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Float.h +++ b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Float.h @@ -7,6 +7,7 @@ class Float : public Value { double value; public: std::string Visit(LLVMVisitor& visitor) const override; + T_Primitive RetType() const override; const double& get_value() const; Float(double value); -- cgit v1.3.1-26-gb76a