diff options
-rw-r--r-- | luaotfload-basics-nod.lua | 4 | ||||
-rw-r--r-- | luaotfload-merged.lua | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/luaotfload-basics-nod.lua b/luaotfload-basics-nod.lua index 58b2789..13a275a 100644 --- a/luaotfload-basics-nod.lua +++ b/luaotfload-basics-nod.lua @@ -96,8 +96,8 @@ end -- experimental -local getfield = node.getfield or function(n,tag) return n[tag] end end -local setfield = node.setfield or function(n,tag,value) n[tag] = value end end +local getfield = node.getfield or function(n,tag) return n[tag] end +local setfield = node.setfield or function(n,tag,value) n[tag] = value end nodes.getfield = getfield nodes.setfield = setfield diff --git a/luaotfload-merged.lua b/luaotfload-merged.lua index d7a1fab..3844b5c 100644 --- a/luaotfload-merged.lua +++ b/luaotfload-merged.lua @@ -3381,8 +3381,8 @@ function nodes.pool.kern(k) n.kern=k return n end -local getfield=node.getfield or function(n,tag) return n[tag] end end -local setfield=node.setfield or function(n,tag,value) n[tag]=value end end +local getfield=node.getfield or function(n,tag) return n[tag] end +local setfield=node.setfield or function(n,tag,value) n[tag]=value end nodes.getfield=getfield nodes.setfield=setfield nodes.getattr=getfield |