diff options
author | Li Jin <dragon-fly@qq.com> | 2022-04-29 08:57:42 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-04-29 08:57:42 +0800 |
commit | 70d8bc6d5396799c71ee97a7f98791779c8f1a37 (patch) | |
tree | 279cd18072b324734f704f6eb15f067cbbdd441b /doc/docs | |
parent | d6f413ebbb1972dc2acf0565b749c32cf7699e39 (diff) | |
download | yuescript-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-x | doc/docs/doc/README.md | 6 |
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 | ||
418 | The **#** operator can be used as a shortcut for metatable manipulation. | 418 | The **#** operator can be used as a shortcut for metatable manipulation. |
419 | 419 | ||
420 | * **Metatable Creation** | 420 | * **Metatable Creation** |
421 | Create normal table with key **#** or metamethod key that ends with **#**. | 421 | Create 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** |
457 | Accessing metatable with key **#** or metamethod key that ends with **#**. | 457 | Accessing 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** |
480 | Destruct metatable with metamethod key that ends with **#**. | 480 | Destruct metatable with metamethod key that ends with **#**. |
481 | 481 | ||
482 | ```moonscript | 482 | ```moonscript |