Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
[parrot]
Browse files Browse the repository at this point in the history
Remove the second argument passed to exception handlers.
You can get the message by stringifying the exception object.
All parrot tests pass.  Looks like the languages are all okay too.
  • Loading branch information
tene committed Sep 21, 2008
1 parent 2e11f4b commit f21df86
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/wmlsstdlibs.pir
Expand Up @@ -111,7 +111,8 @@ helper for CALL_URL* opcodes.
_handler_1:
.local pmc e
.local string msg
.get_results (e, msg)
.get_results (e)
msg = e
print msg
print "\n"
$S0 = "verification failed (can't translate '"
Expand Down
3 changes: 2 additions & 1 deletion wmls2pbc.pir
Expand Up @@ -56,7 +56,8 @@ Francois Perrad.
_handler:
.local pmc e
.local string s
.get_results (e, s)
.get_results (e)
s = e
print s
print "\n"
L1:
Expand Down
3 changes: 2 additions & 1 deletion wmls2pir.pir
Expand Up @@ -52,7 +52,8 @@ Francois Perrad.
_handler:
.local pmc e
.local string s
.get_results (e, s)
.get_results (e)
s = e
print s
print "\n"
L1:
Expand Down
3 changes: 2 additions & 1 deletion wmlsd.pir
Expand Up @@ -50,7 +50,8 @@ Francois Perrad.
_handler:
.local pmc e
.local string msg
.get_results (e, msg)
.get_results (e)
msg = e
print msg
print "\n"
L1:
Expand Down
3 changes: 2 additions & 1 deletion wmlsi.pir
Expand Up @@ -81,7 +81,8 @@ Francois Perrad.
_handler:
.local pmc e
.local string s
.get_results (e, s)
.get_results (e)
s = e
print s
print "\n"
L1:
Expand Down

0 comments on commit f21df86

Please sign in to comment.