mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 02:11:38 +03:00
jets: further cleanups.
This commit is contained in:
parent
d204c1d665
commit
239cd93f3a
@ -332,11 +332,6 @@ u3we_scow(u3_noun cor)
|
||||
case c3__uw:
|
||||
return _print_uw(atom);
|
||||
|
||||
/* // %ta is used once in link.hoon. don't bother. */
|
||||
|
||||
/* case c3__tas: */
|
||||
/* return _parse_tas(txt); */
|
||||
|
||||
default:
|
||||
return u3_none;
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ u3_noun combine(u3_noun p, u3_noun q)
|
||||
return 0;
|
||||
}
|
||||
|
||||
u3_noun ret = u3nc(0, u3qa_add(u3k(u3t(p)), u3qa_mul(256, u3k(u3t(q)))));
|
||||
u3_noun ret = u3nc(0, u3qa_add(u3t(p), u3qa_mul(256, u3t(q))));
|
||||
u3z(p);
|
||||
u3z(q);
|
||||
|
||||
@ -109,11 +109,7 @@ _parse_p(u3_noun cor, u3_noun txt) {
|
||||
c3_c* c = u3r_string(txt);
|
||||
|
||||
c3_c* cur = c;
|
||||
if (cur[0] != '~') {
|
||||
c3_free(c);
|
||||
return 0;
|
||||
}
|
||||
cur++;
|
||||
CONSUME('~');
|
||||
|
||||
// We at least have a sig prefix. We're now going to parse tuples of three
|
||||
// lowercase letters. Our naming pattern for the pieces we read is [a b c d
|
||||
|
Loading…
Reference in New Issue
Block a user