aboutsummaryrefslogtreecommitdiff
path: root/src/boot/parser.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-02-15 20:28:37 +0000
committerdos-reis <gdr@axiomatics.org>2008-02-15 20:28:37 +0000
commit5505ab2d0069eb2809753217a93e9a4551c997f9 (patch)
tree4fa77d6041f8a2d915d915feaa2a4a1dab52c799 /src/boot/parser.boot
parent9d17d5a9314c999f1495392909dbfdb09b0dc1e3 (diff)
downloadopen-axiom-5505ab2d0069eb2809753217a93e9a4551c997f9.tar.gz
Tidy src/boot
Diffstat (limited to 'src/boot/parser.boot')
-rw-r--r--src/boot/parser.boot6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot/parser.boot b/src/boot/parser.boot
index fc21f148..5cc2d856 100644
--- a/src/boot/parser.boot
+++ b/src/boot/parser.boot
@@ -286,13 +286,13 @@ bpMissingMate(close,open)==
bpMissing s==
bpSpecificErrorHere(CONCAT(PNAME s,'" possibly missing"))
- THROW("TRAPPOINT","TRAPPED")
+ throw TRAPPOINT "TRAPPED"
bpCompMissing s == bpEqKey s or bpMissing s
bpTrap()==
bpGeneralErrorHere()
- THROW("TRAPPOINT","TRAPPED")
+ throw TRAPPOINT "TRAPPED"
bpRecoverTrap()==
bpFirstToken()
@@ -310,7 +310,7 @@ bpListAndRecover(f)==
c:=$inputStream
while not done repeat
-- $trapped:local:=false
- found:=CATCH("TRAPPOINT",APPLY(f,nil))
+ found:=try APPLY(f,nil) catch TRAPPOINT
if found="TRAPPED"
then
$inputStream:=c