/[svn]
ViewVC logotype

Revision 3804


Jump to revision: Previous Next
Author: schoenebeck
Date: Thu Aug 6 12:15:02 2020 UTC (6 weeks, 5 days ago)
Changed paths: 9
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).


Changed paths

Path Details
Directorylinuxsampler/trunk/ChangeLog modified , text changed
Directorylinuxsampler/trunk/configure.ac modified , text changed
Directorylinuxsampler/trunk/src/scriptvm/CoreVMFunctions.cpp modified , text changed
Directorylinuxsampler/trunk/src/scriptvm/ScriptVM.cpp modified , text changed
Directorylinuxsampler/trunk/src/scriptvm/common.h modified , text changed
Directorylinuxsampler/trunk/src/scriptvm/parser.y modified , text changed
Directorylinuxsampler/trunk/src/scriptvm/tests/NKSPCoreLangTest.cpp modified , text changed
Directorylinuxsampler/trunk/src/scriptvm/tree.cpp modified , text changed
Directorylinuxsampler/trunk/src/scriptvm/tree.h modified , text changed

  ViewVC Help
Powered by ViewVC