diff options
author | David Claughton <dave@eclecticdave.com> | 2011-11-08 21:13:59 +0000 |
---|---|---|
committer | David Claughton <dave@eclecticdave.com> | 2011-12-03 01:29:44 +0000 |
commit | ca12d620e84fc5284976fb3ecfb8ef30ee7cfe4a (patch) | |
tree | aec53cc648157cf6eab5469a472ba872c735da9e /src/compiler.js | |
parent | 62000632bb844fd0b6473ad0387ce3b82bc62909 (diff) |
Modify exit() to throw an object and catch it.
* Changed exit from throwing an text string to throwing
an Error-derived object encapsulating the exit status.
Then catch it in 'callMain' and return the status.
Enable this functionality by setting CATCH_EXIT_CODE in settings.js
Diffstat (limited to 'src/compiler.js')
0 files changed, 0 insertions, 0 deletions