diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-05-29 02:00:20 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-05-29 02:00:20 +0800 |
| commit | 88c1052e700f38cf3d8ad82d469da4c487760b7e (patch) | |
| tree | aaa19c10ea1f9653e249b529586a688c275563ca /spec/inputs/plus.moon | |
| parent | 04e3cd43cee426cd5c2fa1d0fab5fabc7f19c039 (diff) | |
| download | yuescript-88c1052e700f38cf3d8ad82d469da4c487760b7e.tar.gz yuescript-88c1052e700f38cf3d8ad82d469da4c487760b7e.tar.bz2 yuescript-88c1052e700f38cf3d8ad82d469da4c487760b7e.zip | |
change operator precedence to [1].^ [2].unary operators (not, #, -, ~) [3].|> [4].*, /, //, %, ...
fix destructure with one table variable to operator-value expression.
fix simple chain value with Lua keyword colon chain item.
Diffstat (limited to 'spec/inputs/plus.moon')
| -rw-r--r-- | spec/inputs/plus.moon | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/inputs/plus.moon b/spec/inputs/plus.moon index 38d3a08..ca03499 100644 --- a/spec/inputs/plus.moon +++ b/spec/inputs/plus.moon | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | x\do "work" | ||
| 1 | 2 | ||
| 2 | func a\do!\end("OK")\if "abc",123 | 3 | func a\do!\end("OK")\if "abc",123 |
| 3 | 4 | ||
