diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2019-04-06 13:32:37 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2019-04-06 13:32:37 -0300 |
commit | 1f1f6c0732ddb22c7d102a810b6c24724a5b6d3b (patch) | |
tree | a83cefd7cb2c3bc8401d23a2cc667f3be069765b /parser.lua | |
parent | a6372171c08b21adfc1c9879bd195fcd6a658d18 (diff) |
it works?
Diffstat (limited to 'parser.lua')
-rw-r--r-- | parser.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.lua b/parser.lua index ff8378c..beb944e 100644 --- a/parser.lua +++ b/parser.lua @@ -134,8 +134,8 @@ return { stream = stream, parse = parse, -- common utility function - selfify = function(t) - t.self = t + selfify = function(t, id) + t[id or "self"] = t return t end, -- common hook |