From 71b532710fe3e755eb3089111595d0688ffb8843 Mon Sep 17 00:00:00 2001 From: Don HO Date: Fri, 28 Aug 2020 14:36:23 +0200 Subject: [PATCH] Fix Python the variable "def" not working correctly in Function List Fix #3645, close #3672 --- PowerEditor/Test/FunctionList/python/unitTest | 2 ++ PowerEditor/src/functionList.xml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/PowerEditor/Test/FunctionList/python/unitTest b/PowerEditor/Test/FunctionList/python/unitTest index bd36ab500..acd6f0d54 100644 --- a/PowerEditor/Test/FunctionList/python/unitTest +++ b/PowerEditor/Test/FunctionList/python/unitTest @@ -82,6 +82,8 @@ for _ in xrange(m): -------------------------------------------------------------------------------- """ +ssdef = 20 +USER_DEF = 1000 def dfs(G, s): vis, S = set([s]), [s] diff --git a/PowerEditor/src/functionList.xml b/PowerEditor/src/functionList.xml index decaeb5d4..129d23a2c 100644 --- a/PowerEditor/src/functionList.xml +++ b/PowerEditor/src/functionList.xml @@ -681,7 +681,7 @@ @@ -689,7 +689,7 @@