aboutsummaryrefslogtreecommitdiff
path: root/src/interp/g-error.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/g-error.boot')
-rw-r--r--src/interp/g-error.boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interp/g-error.boot b/src/interp/g-error.boot
index 3d7c58bf..844e18ac 100644
--- a/src/interp/g-error.boot
+++ b/src/interp/g-error.boot
@@ -143,7 +143,7 @@ TOP() == returnToTopLevel()
returnToTopLevel() ==
SETQ(CHR, "ENDOFLINECHR")
SETQ(TOK, 'END__UNIT)
- TOPLEVEL()
+ THROW('TOP__LEVEL,'restart)
returnToReader() ==
not $ReadingFile => returnToTopLevel()