aboutsummaryrefslogtreecommitdiff
path: root/src/interp/serror.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/serror.boot')
-rw-r--r--src/interp/serror.boot10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/interp/serror.boot b/src/interp/serror.boot
index 59318cbd..9dcf1c3a 100644
--- a/src/interp/serror.boot
+++ b/src/interp/serror.boot
@@ -37,20 +37,20 @@ namespace BOOT
--% Functions to handle specific errors (mostly syntax)
-syGeneralErrorHere: () -> %Thing
+syGeneralErrorHere: () -> %Void
syGeneralErrorHere() ==
sySpecificErrorHere('S2CY0002, [])
-sySpecificErrorHere: (%Symbol,%List) -> %Thing
+sySpecificErrorHere: (%Symbol,%List %Form) -> %Void
sySpecificErrorHere(key,args) ==
sySpecificErrorAtToken($stok, key, args)
-sySpecificErrorAtToken: (%Thing,%Symbol,%List) -> %Thing
+sySpecificErrorAtToken: (%Thing,%Symbol,%List %Form) -> %Void
sySpecificErrorAtToken(tok,key,args) ==
pos := tokPosn tok
ncSoftError(pos, key, args)
-syIgnoredFromTo: (%List,%List) -> %Thing
+syIgnoredFromTo: (%List %Form,%List %Form) -> %Void
syIgnoredFromTo(pos1, pos2) ==
if pfGlobalLinePosn pos1 = pfGlobalLinePosn pos2 then
ncSoftError(FromTo(pos1,pos2), 'S2CY0005, [])
@@ -58,7 +58,7 @@ syIgnoredFromTo(pos1, pos2) ==
ncSoftError(From pos1, 'S2CY0003, [])
ncSoftError(To pos2, 'S2CY0004, [])
-npTrapForm: %Thing -> %Thing
+npTrapForm: %Thing -> %Void
npTrapForm(x)==
a:=pfSourceStok x
a='NoToken =>