diff options
| author | Salem Talha <salem.a.talha@gmail.com> | 2014-01-26 03:43:42 -0500 |
|---|---|---|
| committer | Salem Talha <salem.a.talha@gmail.com> | 2014-01-26 14:42:53 -0500 |
| commit | cc61fc09945aeec6fc71a07e91b8610fa71f6425 (patch) | |
| tree | 28b2a4a2742d0f8fa29c19bca7b6f35f441a7a2a /src/libsyntax/ext/tt | |
| parent | 838b5a4cc072057f31453cdd1b50345f92e1a772 (diff) | |
| download | rust-cc61fc09945aeec6fc71a07e91b8610fa71f6425.tar.gz rust-cc61fc09945aeec6fc71a07e91b8610fa71f6425.zip | |
Removed all instances of XXX in preparation for relaxing of FIXME rule
Diffstat (limited to 'src/libsyntax/ext/tt')
| -rw-r--r-- | src/libsyntax/ext/tt/transcribe.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsyntax/ext/tt/transcribe.rs b/src/libsyntax/ext/tt/transcribe.rs index 20d544f52c9..87a2f374c90 100644 --- a/src/libsyntax/ext/tt/transcribe.rs +++ b/src/libsyntax/ext/tt/transcribe.rs @@ -173,7 +173,7 @@ fn lockstep_iter_size(t: &TokenTree, r: &TtReader) -> LockstepIterSize { // return the next token from the TtReader. // EFFECT: advances the reader's token field pub fn tt_next_token(r: &TtReader) -> TokenAndSpan { - // XXX(pcwalton): Bad copy? + // FIXME(pcwalton): Bad copy? let ret_val = TokenAndSpan { tok: r.cur_tok.get(), sp: r.cur_span.get(), @@ -231,7 +231,7 @@ pub fn tt_next_token(r: &TtReader) -> TokenAndSpan { } loop { /* because it's easiest, this handles `TTDelim` not starting with a `TTTok`, even though it won't happen */ - // XXX(pcwalton): Bad copy. + // FIXME(pcwalton): Bad copy. match r.stack.get().forest[r.stack.get().idx.get()].clone() { TTDelim(tts) => { r.stack.set(@TtFrame { @@ -250,7 +250,7 @@ pub fn tt_next_token(r: &TtReader) -> TokenAndSpan { return ret_val; } TTSeq(sp, tts, sep, zerok) => { - // XXX(pcwalton): Bad copy. + // FIXME(pcwalton): Bad copy. let t = TTSeq(sp, tts, sep.clone(), zerok); match lockstep_iter_size(&t, r) { LisUnconstrained => { @@ -306,7 +306,7 @@ pub fn tt_next_token(r: &TtReader) -> TokenAndSpan { return ret_val; } MatchedNonterminal(ref other_whole_nt) => { - // XXX(pcwalton): Bad copy. + // FIXME(pcwalton): Bad copy. r.cur_span.set(sp); r.cur_tok.set(INTERPOLATED((*other_whole_nt).clone())); r.stack.get().idx.set(r.stack.get().idx.get() + 1u); |
