diff options
[IPL/T] Values now have a return value which can be parsed easily
1 files changed, 1 insertions, 0 deletions
| -rw-r--r-- | Year 2/Implementation of Programming Languages/Transpiler/src/Value/Float.h | 1 |
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); |
