From 1800e25002886ff48f5fb1486c2d3cc458acb490 Mon Sep 17 00:00:00 2001 From: lavon <50451123+lavon321@users.noreply.github.com> Date: Mon, 13 Sep 2021 10:09:51 +0800 Subject: [PATCH] Fix syntax errors --- core/core_engine/php/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core_engine/php/parser.py b/core/core_engine/php/parser.py index d4e4def6..d7c3d984 100644 --- a/core/core_engine/php/parser.py +++ b/core/core_engine/php/parser.py @@ -1057,7 +1057,7 @@ def parameters_back(param, nodes, function_params=None, lineno=0, param = cp elif isinstance(node, php.If): - # logger.debug( + logger.debug( "[AST] param {} line {} in if/else, start ast in if/else".format(param_name, node.lineno)) if isinstance(node.node, php.Block): # if里可能是代码块,也可能就一句语句