Instead of aborting in random places within the VM when throwing exceptions, print #<unbound>. In normal circumstances this won't ever happen.
Unified · Split
| @@ -538,7 +538,9 @@ sl_print_child(sl_v v) · 537 unmodified lines | |||
| 538 | outsc("#<eof>"); | 538 | outsc("#<eof>"); |
| 539 | else if(v == sl_void) | 539 | else if(v == sl_void) |
| 540 | outsc("#<void>"); | 540 | outsc("#<void>"); |
| 541 | else // unbound, should never happen | 541 | else if(v == sl_unbound) |
| 542 | outsc("#<unbound>"); | ||
| 543 | else | ||
| 542 | abort(); | 544 | abort(); |
| 543 | break; | 545 | break; |
| 544 | case TAG_FN: | 546 | case TAG_FN: |