mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 00:59:31 +00:00
Merge behavior of : and = into single = operator for pairs; add assignment with _._ operator in function references
This commit is contained in:
parent
48cabbf4c0
commit
88157b04b9
19 changed files with 104 additions and 38 deletions
|
|
@ -126,7 +126,7 @@ types.anselme = {
|
|||
if not k then return k, ke end
|
||||
local v, ve = format(val[2])
|
||||
if not v then return v, ve end
|
||||
return ("%s:%s"):format(k, v)
|
||||
return ("%s=%s"):format(k, v)
|
||||
end,
|
||||
to_lua = function(val)
|
||||
local k, ke = to_lua(val[1])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue