diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuescript/yue_ast.cpp | 2 | ||||
| -rw-r--r-- | src/yuescript/yue_compiler.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/yuescript/yue_ast.cpp b/src/yuescript/yue_ast.cpp index cfd4cc6..89b8d3f 100644 --- a/src/yuescript/yue_ast.cpp +++ b/src/yuescript/yue_ast.cpp | |||
| @@ -860,7 +860,7 @@ std::string CompForEach_t::to_string(void* ud) const { | |||
| 860 | std::string CompForNum_t::to_string(void* ud) const { | 860 | std::string CompForNum_t::to_string(void* ud) const { |
| 861 | auto line = "for "s + varName->to_string(ud) + " = "s + startValue->to_string(ud) + ", "s + stopValue->to_string(ud); | 861 | auto line = "for "s + varName->to_string(ud) + " = "s + startValue->to_string(ud) + ", "s + stopValue->to_string(ud); |
| 862 | if (stepValue) { | 862 | if (stepValue) { |
| 863 | line += stepValue->to_string(ud); | 863 | line += ", "s + stepValue->to_string(ud); |
| 864 | } | 864 | } |
| 865 | return line; | 865 | return line; |
| 866 | } | 866 | } |
diff --git a/src/yuescript/yue_compiler.cpp b/src/yuescript/yue_compiler.cpp index 835a70a..370cee4 100644 --- a/src/yuescript/yue_compiler.cpp +++ b/src/yuescript/yue_compiler.cpp | |||
| @@ -78,7 +78,7 @@ static std::unordered_set<std::string> Metamethods = { | |||
| 78 | "close"s // Lua 5.4 | 78 | "close"s // Lua 5.4 |
| 79 | }; | 79 | }; |
| 80 | 80 | ||
| 81 | const std::string_view version = "0.32.6"sv; | 81 | const std::string_view version = "0.32.7"sv; |
| 82 | const std::string_view extension = "yue"sv; | 82 | const std::string_view extension = "yue"sv; |
| 83 | 83 | ||
| 84 | class CompileError : public std::logic_error { | 84 | class CompileError : public std::logic_error { |
