From 682a92faf620da716929130a86fd46a64584f8b0 Mon Sep 17 00:00:00 2001 From: louxiu Date: Wed, 25 Dec 2024 11:08:55 +0800 Subject: [PATCH] MOD: local math_path to avoid warning --- jsonpath.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonpath.lua b/jsonpath.lua index d46a55d..48426a4 100755 --- a/jsonpath.lua +++ b/jsonpath.lua @@ -427,7 +427,7 @@ end -function match_path(ast, path, parent, obj) +local function match_path(ast, path, parent, obj) local descendants = false local ast_iter = ipairs(ast) local ast_key, ast_spec = ast_iter(ast, 0)