summaryrefslogtreecommitdiff
path: root/otfl-node-res.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-node-res.lua')
-rw-r--r--otfl-node-res.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-node-res.lua b/otfl-node-res.lua
index 2657dfa..a8ea874 100644
--- a/otfl-node-res.lua
+++ b/otfl-node-res.lua
@@ -24,7 +24,7 @@ nodes.whatsits = { } -- table.swapped(node.whatsits())
local reserved = { }
local whatsits = nodes.whatsits
-for k, v in pairs(node.whatsits()) do
+for k, v in next, node.whatsits() do
whatsits[k], whatsits[v] = v, k -- two way
end