Fix for class variable parsing/listing bug.
authorIan Thompson <quornian@googlemail.com>
Sat, 30 Aug 2008 11:27:27 +0000 (11:27 +0000)
committerIan Thompson <quornian@googlemail.com>
Sat, 30 Aug 2008 11:27:27 +0000 (11:27 +0000)
release/scripts/bpymodules/BPyTextPlugin.py

index 73b0109206a9771d69063a0d461b1d30c344285a..5e5c9f55e537a21c5030e8e1b75c19114f8bad65 100644 (file)
@@ -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: