diff --git a/src/Ast/functionParameters.hpp b/src/Ast/functionParameters.hpp index a251d63..3c8ae5c 100644 --- a/src/Ast/functionParameters.hpp +++ b/src/Ast/functionParameters.hpp @@ -10,9 +10,9 @@ namespace Fig::Ast { /* Positional Parameters: - fun test(pp1, pp2: Int) + func test(pp1, pp2: Int) Default Parameters: - fun test2(dp1 = 10, dp2:String = "default parameter 2") + func test2(dp1 = 10, dp2:String = "default parameter 2") */ using PosParasType = std::vector>; diff --git a/xmake.lua b/xmake.lua index 5a44f0c..5abfba9 100644 --- a/xmake.lua +++ b/xmake.lua @@ -5,7 +5,7 @@ set_policy("run.autobuild", false) target("Fig") set_kind("binary") - set_languages("c++2b") + set_languages("c++23") set_plat("mingw")