diff options
-rwxr-xr-x | tools/js2c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/js2c.py b/tools/js2c.py index 7c83c67ba..772a0f5f6 100755 --- a/tools/js2c.py +++ b/tools/js2c.py @@ -206,7 +206,7 @@ def ReadMacros(lines): fun = eval("lambda " + ",".join(args) + ': ' + body) macros[name] = PythonMacro(args, fun) else: - raise ("Illegal line: " + line) + raise Exception("Illegal line: " + line) return (constants, macros) |