Improve searching for XXX in tidy script (#3303)

Few places where previous version of tidy script cannot find XXX:
* inside one-line comment preceding by a few spaces;
* inside multiline comments (now it finds it if multiline comment starts
on the same line with XXX).

Change occurences of XXX found by new tidy script.
This commit is contained in:
Boris Egorov 2014-04-07 19:01:10 +07:00 committed by Alex Crichton
parent de2567dec9
commit 00cbda2d0a
4 changed files with 7 additions and 6 deletions

View file

@ -120,7 +120,7 @@ impl Drop for Addrinfo {
}
fn each_ai_flag(_f: |c_int, ai::Flag|) {
/* XXX: do we really want to support these?
/* FIXME: do we really want to support these?
unsafe {
f(uvll::rust_AI_ADDRCONFIG(), ai::AddrConfig);
f(uvll::rust_AI_ALL(), ai::All);
@ -150,7 +150,7 @@ pub fn accum_addrinfo(addr: &Addrinfo) -> ~[ai::Info] {
}
});
/* XXX: do we really want to support these
/* FIXME: do we really want to support these
let protocol = match (*addr).ai_protocol {
p if p == uvll::rust_IPPROTO_UDP() => Some(ai::UDP),
p if p == uvll::rust_IPPROTO_TCP() => Some(ai::TCP),