mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-25 07:52:59 +03:00
Merge pull request #207 from gkelly/show-bail-before-abort
Show the how of a bail in more cases.
This commit is contained in:
commit
d57fbc9fcc
17
n/m.c
17
n/m.c
@ -534,15 +534,6 @@ u3m_bail(u3_noun how)
|
||||
if ( (c3__exit == how) && (u3R == &u3H->rod_u) ) {
|
||||
abort();
|
||||
}
|
||||
if ( c3__fail == how ) {
|
||||
abort();
|
||||
}
|
||||
if ( c3__foul == how ) {
|
||||
abort();
|
||||
}
|
||||
if ( c3__meme == how ) {
|
||||
abort();
|
||||
}
|
||||
|
||||
/* Printf some metadata.
|
||||
*/
|
||||
@ -565,8 +556,12 @@ u3m_bail(u3_noun how)
|
||||
}
|
||||
}
|
||||
|
||||
if ( c3__oops == how ) {
|
||||
abort();
|
||||
switch ( how ) {
|
||||
case c3__fail:
|
||||
case c3__foul:
|
||||
case c3__meme:
|
||||
case c3__oops:
|
||||
abort();
|
||||
}
|
||||
|
||||
if ( &(u3H->rod_u) == u3R ) {
|
||||
|
Loading…
Reference in New Issue
Block a user