From c5c40598aa221659d9e1a2266e39d0ce4e799678 Mon Sep 17 00:00:00 2001 From: PB18111719 Date: Mon, 22 Nov 2021 14:14:07 +0800 Subject: [PATCH] fix bugs --- Student/task2/demo/go_upstairs_gen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Student/task2/demo/go_upstairs_gen.cpp b/Student/task2/demo/go_upstairs_gen.cpp index 1972909..b4143d8 100644 --- a/Student/task2/demo/go_upstairs_gen.cpp +++ b/Student/task2/demo/go_upstairs_gen.cpp @@ -18,7 +18,7 @@ ConstantInt::get(num, module) #define CONST_FP(num) \ - ConstantFP::get(num, module) // 得到常数值的表示,方便后面多次用到 + ConstantFloat::get(num, module) // 得到常数值的表示,方便后面多次用到 int main() { auto module = new Module("SysY code"); // module name是什么无关紧要