aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/yuescript/yue_compiler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuescript/yue_compiler.cpp b/src/yuescript/yue_compiler.cpp
index e93324e..15a785a 100755
--- a/src/yuescript/yue_compiler.cpp
+++ b/src/yuescript/yue_compiler.cpp
@@ -60,7 +60,7 @@ using namespace parserlib;
60 60
61typedef std::list<std::string> str_list; 61typedef std::list<std::string> str_list;
62 62
63const std::string_view version = "0.9.3"sv; 63const std::string_view version = "0.9.4"sv;
64const std::string_view extension = "yue"sv; 64const std::string_view extension = "yue"sv;
65 65
66class YueCompilerImpl { 66class YueCompilerImpl {
@@ -5141,6 +5141,7 @@ private:
5141 auto exp = ast_cast<Exp_t>(assign->values.objects().front()); 5141 auto exp = ast_cast<Exp_t>(assign->values.objects().front());
5142 BREAK_IF(!exp); 5142 BREAK_IF(!exp);
5143 auto value = singleValueFrom(exp); 5143 auto value = singleValueFrom(exp);
5144 BREAK_IF(!value);
5144 clsDecl = value->getByPath<SimpleValue_t, ClassDecl_t>(); 5145 clsDecl = value->getByPath<SimpleValue_t, ClassDecl_t>();
5145 BLOCK_END 5146 BLOCK_END
5146 } else if (auto expList = expListFrom(statement)) { 5147 } else if (auto expList = expListFrom(statement)) {