mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
Rewrite
This commit is contained in:
parent
7a5a05ff34
commit
b233d7fa1e
138 changed files with 4369 additions and 1611 deletions
18
test/tests/tag empty.lua
Normal file
18
test/tests/tag empty.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
local _={}
|
||||
_[6]={1}
|
||||
_[5]={data="bar",tags=_[6]}
|
||||
_[4]={data="foo",tags=_[6]}
|
||||
_[3]={_[4],_[5]}
|
||||
_[2]={"return"}
|
||||
_[1]={"text",_[3]}
|
||||
return {_[1],_[2]}
|
||||
--[[
|
||||
{ "text", { {
|
||||
data = "foo",
|
||||
tags = <1>{ 1 }
|
||||
}, {
|
||||
data = "bar",
|
||||
tags = <table 1>
|
||||
} } }
|
||||
{ "return" }
|
||||
]]--
|
||||
Loading…
Add table
Add a link
Reference in a new issue