diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-07-12 18:08:55 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-07-12 18:09:31 -0700 |
| commit | ea5f19206c77fd6413ddfe86290b35520c779df7 (patch) | |
| tree | 13c7077fb268360c647bfaf423ba624c04eb3608 /src/libsyntax/ext/tt | |
| parent | 407094e39a41ba2a6c69ee9cfaba5f600c5632b0 (diff) | |
| download | rust-ea5f19206c77fd6413ddfe86290b35520c779df7.tar.gz rust-ea5f19206c77fd6413ddfe86290b35520c779df7.zip | |
Comments only: TODOs to FIXMEs; annotate
Diffstat (limited to 'src/libsyntax/ext/tt')
| -rw-r--r-- | src/libsyntax/ext/tt/transcribe.rs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/libsyntax/ext/tt/transcribe.rs b/src/libsyntax/ext/tt/transcribe.rs index 113fdea42e4..df0c39bb266 100644 --- a/src/libsyntax/ext/tt/transcribe.rs +++ b/src/libsyntax/ext/tt/transcribe.rs @@ -12,7 +12,8 @@ enum tt_frame_up { /* to break a circularity */ tt_frame_up(option<tt_frame>) } -/* TODO: figure out how to have a uniquely linked stack, and change to `~` */ +/* FIXME #2811: figure out how to have a uniquely linked stack, and change to + `~` */ ///an unzipping of `token_tree`s type tt_frame = @{ readme: ~[ast::token_tree], @@ -185,7 +186,8 @@ fn tt_next_token(&&r: tt_reader) -> {tok: token, sp: span} { "attempted to repeat an expression containing no syntax \ variables matched as repeating at this depth"); } - lis_contradiction(msg) { /* TODO blame macro invoker instead*/ + lis_contradiction(msg) { /* FIXME #2887 blame macro invoker + instead*/ r.sp_diag.span_fatal(sp, msg); } lis_constraint(len, _) { @@ -196,7 +198,8 @@ fn tt_next_token(&&r: tt_reader) -> {tok: token, sp: span} { if len == 0 { if !zerok { - r.sp_diag.span_fatal(sp, /* TODO blame invoker */ + r.sp_diag.span_fatal(sp, /* FIXME #2887 blame invoker + */ "this must repeat at least \ once"); } @@ -206,7 +209,7 @@ fn tt_next_token(&&r: tt_reader) -> {tok: token, sp: span} { } } } - // TODO: think about span stuff here + // FIXME #2887: think about span stuff here tt_interpolate(sp, ident) { alt *lookup_cur_ad(r, ident) { /* sidestep the interpolation tricks for ident because |
