Skip to content

Commit

Permalink
PANIC
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Dec 27, 2010
1 parent ba1fdde commit 3750262
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/builtins/Num.pir
Expand Up @@ -194,16 +194,16 @@ finish:
.return (result)

#errors
ERANGE:
die "DON'T PANIC! The radix is out of range (2..36 only)"
ERANGE:
die "The radix is out of range (2..36 only)"
EINVALIDCHAR:
$S0 = concat "DON'T PANIC! Invalid character (", $S0
$S0 = concat "Invalid character (", $S0
$S0 = concat $S0, ")! Please try again :) "
die $S0
EBASENOEXP:
die "DON'T PANIC! You gave us a base for the magnitude, but you forgot the exponent."
die "You gave us a base for the magnitude, but you forgot the exponent."
EEXPNOBASE:
die "DON'T PANIC! You gave us an exponent for the magnitude, but you forgot the base."
die "You gave us an exponent for the magnitude, but you forgot the base."
.end


Expand Down

0 comments on commit 3750262

Please sign in to comment.