2015-08-27 13:49:13 +03:00
|
|
|
/* j/3/xeb.c
|
2015-08-27 13:31:10 +03:00
|
|
|
**
|
|
|
|
*/
|
|
|
|
#include "all.h"
|
|
|
|
|
|
|
|
|
|
|
|
/* functions
|
|
|
|
*/
|
|
|
|
u3_noun
|
|
|
|
u3qc_xeb(u3_atom a)
|
|
|
|
{
|
2018-10-29 04:15:07 +03:00
|
|
|
c3_w met_w = u3r_met(0, a);
|
2015-08-27 13:31:10 +03:00
|
|
|
|
2018-10-29 04:15:07 +03:00
|
|
|
if ( !_(u3a_is_cat(met_w)) ) {
|
|
|
|
return u3i_words(1, &met_w);
|
2015-08-27 13:31:10 +03:00
|
|
|
}
|
2018-10-29 04:15:07 +03:00
|
|
|
else return met_w;
|
2015-08-27 13:31:10 +03:00
|
|
|
}
|
|
|
|
u3_noun
|
2015-08-27 23:05:53 +03:00
|
|
|
u3wc_xeb(u3_noun cor)
|
2015-08-27 13:31:10 +03:00
|
|
|
{
|
|
|
|
u3_noun a;
|
|
|
|
|
|
|
|
if ( (u3_none == (a = u3r_at(u3x_sam, cor))) ||
|
|
|
|
(c3n == u3ud(a)) )
|
|
|
|
{
|
|
|
|
return u3m_bail(c3__exit);
|
|
|
|
} else {
|
|
|
|
return u3qc_xeb(a);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|