--- a/Utilities/ClassBrowsers/jsclbr.py Tue Mar 25 19:25:11 2014 +0100 +++ b/Utilities/ClassBrowsers/jsclbr.py Tue Mar 25 19:28:27 2014 +0100 @@ -9,8 +9,8 @@ It uses the JavaScript parser contained in the jasy web framework. """ -import ThirdParty.Jasy.jasy.js.parse.Parser as jsParser -import ThirdParty.Jasy.jasy.js.tokenize.Tokenizer as jsTokenizer +import jasy.js.parse.Parser as jsParser +import jasy.js.tokenize.Tokenizer as jsTokenizer import Utilities import Utilities.ClassBrowsers as ClassBrowsers @@ -103,7 +103,7 @@ @return dictionary containing the parsed information """ try: - self.__root = jsParser.parse(self.__source) + self.__root = jsParser.parse(self.__source, self.__file) self.__visit(self.__root) except jsParser.SyntaxError: # ignore syntax errors of the parser @@ -111,9 +111,6 @@ except jsTokenizer.ParseError: # ignore syntax errors of the tokenizer pass - except Exception: - # ignore syntax errors of the tokenizer and parser - pass return self.__dict