Comments only: annotate remaining FIXMEs in librustsyntax

This commit is contained in:
Tim Chevalier 2012-05-03 13:04:40 -07:00
parent 168a9a82f8
commit e1fc7d5f01
2 changed files with 7 additions and 3 deletions

View File

@ -526,6 +526,10 @@ fn print_item(s: ps, &&item: @ast::item) {
/*
FIXME: collect all private items and print them
in a single "priv" section
tjc: I'm not going to fix this yet b/c we might
change how exports work, including for class items
(see #1893)
*/
hardbreak_if_not_bol(s);
maybe_print_comment(s, ci.span.lo);
@ -816,7 +820,7 @@ fn print_mac(s: ps, m: ast::mac) {
_ { word(s.s, " "); }
}
option::iter(arg, bind print_expr(s, _));
// FIXME: extension 'body'
// FIXME: extension 'body' (#2339)
}
ast::mac_embed_type(ty) {
word(s.s, "#<");
@ -1735,7 +1739,7 @@ fn escape_str(st: str, to_escape: char) -> str {
cur {
if cur == to_escape { out += "\\"; }
// FIXME some (or all?) non-ascii things should be escaped
// (See #2306)
str::push_char(out, cur);
}
}

View File

@ -331,7 +331,7 @@ fn visit_mac<E>(m: mac, e: E, v: vt<E>) {
ast::mac_embed_type(ty) { v.visit_ty(ty, e, v); }
ast::mac_embed_block(blk) { v.visit_block(blk, e, v); }
ast::mac_ellipsis { }
ast::mac_aq(_, e) { /* FIXME: maybe visit */ }
ast::mac_aq(_, e) { /* FIXME: maybe visit (Issue #2340) */ }
ast::mac_var(_) { }
}
}