Fixed an uncaught exception in the JavaScript class browser.

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 19 Mar 2014 19:50:54 +0100
changeset 3410
b5e18d7f3501
parent 3408
b6e6a7062d12
child 3416
efce6439595a

Fixed an uncaught exception in the JavaScript class browser.

Utilities/ClassBrowsers/jsclbr.py file | annotate | diff | comparison | revisions
diff -r b6e6a7062d12 -r b5e18d7f3501 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