Merge pull request #207 from gkelly/show-bail-before-abort

Show the how of a bail in more cases.
This commit is contained in:
cgyarvin 2014-12-06 15:32:28 -08:00
commit d57fbc9fcc

17
n/m.c
View File

@ -534,15 +534,6 @@ u3m_bail(u3_noun how)
if ( (c3__exit == how) && (u3R == &u3H->rod_u) ) { if ( (c3__exit == how) && (u3R == &u3H->rod_u) ) {
abort(); abort();
} }
if ( c3__fail == how ) {
abort();
}
if ( c3__foul == how ) {
abort();
}
if ( c3__meme == how ) {
abort();
}
/* Printf some metadata. /* Printf some metadata.
*/ */
@ -565,8 +556,12 @@ u3m_bail(u3_noun how)
} }
} }
if ( c3__oops == how ) { switch ( how ) {
abort(); case c3__fail:
case c3__foul:
case c3__meme:
case c3__oops:
abort();
} }
if ( &(u3H->rod_u) == u3R ) { if ( &(u3H->rod_u) == u3R ) {