aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdoc/docs/doc/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md
index c772765..1e55c07 100755
--- a/doc/docs/doc/README.md
+++ b/doc/docs/doc/README.md
@@ -1222,6 +1222,21 @@ catch err
1222</pre> 1222</pre>
1223</YueDisplay> 1223</YueDisplay>
1224 1224
1225## Attributes
1226
1227The syntax support for Lua 5.4 attributes.
1228
1229```moonscript
1230const a = 123
1231close _ = close#: -> print "Out of scope."
1232```
1233<YueDisplay>
1234<pre>
1235const a = 123
1236close _ = close#: -> print "Out of scope."
1237</pre>
1238</YueDisplay>
1239
1225::: warning NOTICE 1240::: warning NOTICE
1226The rest of the document is describing mostly the same syntax taken from Moonscript. So you may as well refer to the [Moonscript Reference](http://moonscript.org/reference) to get the same explanation. 1241The rest of the document is describing mostly the same syntax taken from Moonscript. So you may as well refer to the [Moonscript Reference](http://moonscript.org/reference) to get the same explanation.
1227::: 1242:::