aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2016-09-17 12:19:11 +1000
committerNeil <nyamatongwe@gmail.com>2016-09-17 12:19:11 +1000
commit8813b71a8538d56f78f60b1434ba69ffcdec7c89 (patch)
tree6a01bea981c60c6d22bdc92efff57bf15b26aa33
parent7758d6ee3d9c2bc4a911ba52bc8a0dbd7a13fecc (diff)
downloadscintilla-mirror-8813b71a8538d56f78f60b1434ba69ffcdec7c89.tar.gz
Reset the comment after use so that it isn't applied to other features.
-rw-r--r--scripts/Face.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Face.py b/scripts/Face.py
index 3724c8fa8..0fbae30a8 100644
--- a/scripts/Face.py
+++ b/scripts/Face.py
@@ -82,6 +82,7 @@ class Face:
raise Exception("Duplicate value " + value + " " + name)
self.values[value] = 1
self.order.append(name)
+ currentComment = []
elif featureType == "evt":
retType, name, value = decodeEvent(featureVal)
self.features[name] = {
@@ -115,4 +116,5 @@ class Face:
"Value": value,
"Comment": currentComment }
self.order.append(name)
+ currentComment = []