diff options
Diffstat (limited to '')
| -rw-r--r-- | src/yuescript/yue_compiler.cpp | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/src/yuescript/yue_compiler.cpp b/src/yuescript/yue_compiler.cpp index 3353a2a..c6cc4ba 100644 --- a/src/yuescript/yue_compiler.cpp +++ b/src/yuescript/yue_compiler.cpp  | |||
| @@ -72,7 +72,7 @@ static std::unordered_set<std::string> Metamethods = { | |||
| 72 | "close"s // Lua 5.4 | 72 | "close"s // Lua 5.4 | 
| 73 | }; | 73 | }; | 
| 74 | 74 | ||
| 75 | const std::string_view version = "0.17.5"sv; | 75 | const std::string_view version = "0.17.6"sv; | 
| 76 | const std::string_view extension = "yue"sv; | 76 | const std::string_view extension = "yue"sv; | 
| 77 | 77 | ||
| 78 | class CompileError : public std::logic_error { | 78 | class CompileError : public std::logic_error { | 
| @@ -5483,6 +5483,9 @@ private: | |||
| 5483 | } | 5483 | } | 
| 5484 | popAnonVarArg(); | 5484 | popAnonVarArg(); | 
| 5485 | popFunctionScope(); | 5485 | popFunctionScope(); | 
| 5486 | if (unary_exp->inExp->not_) { | ||
| 5487 | temp.front().insert(0, "not "s); | ||
| 5488 | } | ||
| 5486 | out.push_back(join(temp)); | 5489 | out.push_back(join(temp)); | 
| 5487 | return; | 5490 | return; | 
| 5488 | } | 5491 | } | 
