Log Message: |
NKSP: Fixed built-in exit() function to behave as return statement.
* VM API: Introduced new signal STMT_RETURN_SIGNALLED.
* NKSP exit() function: signal STMT_RETURN_SIGNALLED instead of
STMT_ABORT_SIGNALLED.
* NKSP AST: Introduced common base class 'Subroutine' for 'EventHandler'
and for new 'UserFunction' class.
* NKSP parser: Use 'UserFunction' class instead of 'Statements' class
for user declared NKSP functions.
* ScriptVM: Handle new STMT_RETURN_SIGNALLED signal by unwinding the
stack to previous, calling subroutine.
* NKSP tests: Added test cases for exit() acting as return statement.
* Bumped version (2.1.1.svn62).
|