From 1f1f6c0732ddb22c7d102a810b6c24724a5b6d3b Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Sat, 6 Apr 2019 13:32:37 -0300 Subject: it works? --- parser.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parser.lua') 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 -- cgit 1.4.1