Fixed an uncaught exception in the JavaScript class browser. 5_4_x

Wed, 19 Mar 2014 19:50:54 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 19 Mar 2014 19:50:54 +0100
branch
5_4_x
changeset 3411
d8290ca5b8ea
parent 3409
b7a3455e9ba0
child 3419
a7a435f185fa

Fixed an uncaught exception in the JavaScript class browser.
(grafted from b5e18d7f3501020de7f57435d907a2871322586a)

Utilities/ClassBrowsers/jsclbr.py file | annotate | diff | comparison | revisions
diff -r b7a3455e9ba0 -r d8290ca5b8ea Utilities/ClassBrowsers/jsclbr.py
--- a/Utilities/ClassBrowsers/jsclbr.py	Wed Mar 19 19:26:30 2014 +0100
+++ b/Utilities/ClassBrowsers/jsclbr.py	Wed Mar 19 19:50:54 2014 +0100
@@ -111,6 +111,9 @@
         except jsTokenizer.ParseError:
             # ignore syntax errors of the tokenizer
             pass
+        except Exception:
+            # ignore syntax errors of the tokenizer and parser
+            pass
         
         return self.__dict
     

eric ide

mercurial