mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-23 03:55:01 +00:00
tokenise_commands: use @example
This commit is contained in:
parent
9101d32bd5
commit
fbb3d5096c
1 changed files with 2 additions and 2 deletions
|
@ -94,11 +94,11 @@ end
|
|||
-- Also supports arbitrarily nested and complex curly braces { } for grouping
|
||||
-- commands together that would normally be split apart.
|
||||
--
|
||||
-- Simple example:
|
||||
-- @example Simple example
|
||||
-- INPUT: //1 //2 //outset 25 //fixlight
|
||||
-- OUTPUT: { "//1", "//2", "//outset 25", "//fixlight" }
|
||||
--
|
||||
-- Example with curly braces:
|
||||
-- @example Example with curly braces
|
||||
-- INPUT: //1 //2 //outset 50 {//many 5 //multi //fixlight //clearcut}
|
||||
-- OUTPUT: { "//1", "//2", "//outset 50", "//many 5 //multi //fixlight //clearcut"}
|
||||
--
|
||||
|
|
Loading…
Reference in a new issue