Make scarpet internal and control flow exceptions stackless (#1392)
This commit is contained in:
1 parent
76861479e0
commit
80a5342776
5 files changed
+23
-4
No files matched your search
@@ -3,7 +3,7 @@ package carpet.script.exception;
|
||||
import carpet.script.value.Value;
|
||||
|
||||
/* Exception thrown to terminate execution mid expression (aka return statement) */
|
||||
public class ExitStatement extends RuntimeException
|
||||
public class ExitStatement extends StacklessRuntimeException
|
||||
{
|
||||
public final Value retval;
|
||||
public ExitStatement(Value value)
|
||||
|
||||
Reference in new issue
Block a user