diff options
author | Li Jin <dragon-fly@qq.com> | 2020-01-13 16:50:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-13 16:50:01 +0800 |
commit | 6f0727c993b662d2966b64486e336e8fa5f30ba8 (patch) | |
tree | 629e49ab413f26890a419a4c96dfc81f8ca5df5e | |
parent | ccb3381cdfc84a4dd37f5b7aea9ff21d6558c14b (diff) | |
download | yuescript-6f0727c993b662d2966b64486e336e8fa5f30ba8.tar.gz yuescript-6f0727c993b662d2966b64486e336e8fa5f30ba8.tar.bz2 yuescript-6f0727c993b662d2966b64486e336e8fa5f30ba8.zip |
Update README.md
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ local _call_4 = _call_3["then"](_call_3, "xyz") | |||
23 | _call_4["else"](_call_4, res) | 23 | _call_4["else"](_call_4, res) |
24 | ``` | 24 | ``` |
25 | 25 | ||
26 | * Add a compiler flag `reuseVariable` which can help generate reduced Lua codes. For example, when set `reuseVariable` to `true`. Will generate codes from: | 26 | * Add a compiler flag `reuseVariable` which can help generate reduced Lua codes. For example, when set `reuseVariable` to `true`, MoonPlus will generate codes from: |
27 | ```Moonscript | 27 | ```Moonscript |
28 | with leaf | 28 | with leaf |
29 | .world 1,2,3 | 29 | .world 1,2,3 |