From bccce7e30e51b43d937f4982ad6d66222f8d961b Mon Sep 17 00:00:00 2001
From: Ian Thompson <quornian@googlemail.com>
Date: Sat, 30 Aug 2008 11:27:27 +0000
Subject: [PATCH] Fix for class variable parsing/listing bug.

---
 release/scripts/bpymodules/BPyTextPlugin.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/release/scripts/bpymodules/BPyTextPlugin.py b/release/scripts/bpymodules/BPyTextPlugin.py
index 73b0109206a..5e5c9f55e53 100644
--- a/release/scripts/bpymodules/BPyTextPlugin.py
+++ b/release/scripts/bpymodules/BPyTextPlugin.py
@@ -492,6 +492,8 @@ def parse_text(txt):
 			elif var1_step == 3:
 				if text == '=':
 					var1_step = 4
+				elif text != ',':
+					var1_step = 0
 			elif var1_step == 4:
 				var_type = None
 				if type == NUMBER:
-- 
GitLab