summaryrefslogtreecommitdiff
path: root/doc/docs
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-04-29 08:57:42 +0800
committerLi Jin <dragon-fly@qq.com>2022-04-29 08:57:42 +0800
commit70d8bc6d5396799c71ee97a7f98791779c8f1a37 (patch)
tree279cd18072b324734f704f6eb15f067cbbdd441b /doc/docs
parentd6f413ebbb1972dc2acf0565b749c32cf7699e39 (diff)
downloadyuescript-70d8bc6d5396799c71ee97a7f98791779c8f1a37.tar.gz
yuescript-70d8bc6d5396799c71ee97a7f98791779c8f1a37.tar.bz2
yuescript-70d8bc6d5396799c71ee97a7f98791779c8f1a37.zip
prevent text mode macro from inserting line numbers in generated codes.
Diffstat (limited to 'doc/docs')
-rwxr-xr-xdoc/docs/doc/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md
index cc98538..abff593 100755
--- a/doc/docs/doc/README.md
+++ b/doc/docs/doc/README.md
@@ -417,7 +417,7 @@ merge = {...a, ...b}
417 417
418The **#** operator can be used as a shortcut for metatable manipulation. 418The **#** operator can be used as a shortcut for metatable manipulation.
419 419
420* **Metatable Creation** 420* **Metatable Creation**
421Create normal table with key **#** or metamethod key that ends with **#**. 421Create normal table with key **#** or metamethod key that ends with **#**.
422 422
423```moonscript 423```moonscript
@@ -453,7 +453,7 @@ close _ = close#: -> print "out of scope"
453</pre> 453</pre>
454</YueDisplay> 454</YueDisplay>
455 455
456* **Metatable Accessing** 456* **Metatable Accessing**
457Accessing metatable with key **#** or metamethod key that ends with **#**. 457Accessing metatable with key **#** or metamethod key that ends with **#**.
458 458
459```moonscript 459```moonscript
@@ -476,7 +476,7 @@ print tb.item
476</pre> 476</pre>
477</YueDisplay> 477</YueDisplay>
478 478
479* **Metatable Destructure** 479* **Metatable Destructure**
480Destruct metatable with metamethod key that ends with **#**. 480Destruct metatable with metamethod key that ends with **#**.
481 481
482```moonscript 482```moonscript