kripken/emscripten — pull request #778 by caiiiycuk (2013-01-12 07:13:59+00:00)
Title: Implement exceptions in scopes

I try to implement catching exception only in some functions. If you set DISABLE_EXCEPTION_CATCHING = 1 and set ENABLE_EXCEPTION_CATCHING_IN_SCOPE = ['_main'] then exception catches will be enabled only in main function, in other places emscripten will not generate try catch blocks.