aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2020-03-27 18:41:45 +0800
committerLi Jin <dragon-fly@qq.com>2020-03-27 18:41:45 +0800
commit2b42458f64094140ad25a38b7647c02363b63a1a (patch)
tree6be2ba0ea5505e8de8e46a1149465a925cb51af1
parentb3e7b8ebb3b43e02197683a8e46957bbb16b8ead (diff)
downloadyuescript-2b42458f64094140ad25a38b7647c02363b63a1a.tar.gz
yuescript-2b42458f64094140ad25a38b7647c02363b63a1a.tar.bz2
yuescript-2b42458f64094140ad25a38b7647c02363b63a1a.zip
fix issue #9.
-rw-r--r--src/MoonP/moon_compiler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/MoonP/moon_compiler.cpp b/src/MoonP/moon_compiler.cpp
index d036645..db2e278 100644
--- a/src/MoonP/moon_compiler.cpp
+++ b/src/MoonP/moon_compiler.cpp
@@ -1010,6 +1010,7 @@ private:
1010 } 1010 }
1011 auto exp = ast_cast<Exp_t>(value); 1011 auto exp = ast_cast<Exp_t>(value);
1012 BREAK_IF(!exp); 1012 BREAK_IF(!exp);
1013 BREAK_IF(!exp->opValues.empty());
1013 if (auto chainValue = exp->value->item.as<ChainValue_t>()) { 1014 if (auto chainValue = exp->value->item.as<ChainValue_t>()) {
1014 auto type = specialChainValue(chainValue); 1015 auto type = specialChainValue(chainValue);
1015 auto expList = assignment->expList.get(); 1016 auto expList = assignment->expList.get();