aboutsummaryrefslogtreecommitdiff
path: root/scripts/genmsgpack.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genmsgpack.lua')
-rw-r--r--scripts/genmsgpack.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/genmsgpack.lua b/scripts/genmsgpack.lua
index 86a051fb4c..c16a844586 100644
--- a/scripts/genmsgpack.lua
+++ b/scripts/genmsgpack.lua
@@ -87,6 +87,7 @@ for i = 6, #arg do
headers[#headers + 1] = parts[#parts - 1]..'/'..parts[#parts]
local input = io.open(full_path, 'rb')
+
local tmp = grammar:match(input:read('*all'))
for i = 1, #tmp do
local fn = tmp[i]