Skip to content

Commit ce13827

Browse files
committed
---
yaml --- r: 23474 b: refs/heads/master c: 18180fd h: refs/heads/master v: v3
1 parent 4d0d7a8 commit ce13827

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: e54acbf8488c877eeca264948e7e94f3c3434d41
2+
refs/heads/master: 18180fd5dac16582474b5ec0fd49ebb03f7f939d
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libsyntax/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ type capture_clause = @~[capture_item];
407407
// If the syntax extension is an MBE macro, it will attempt to match its
408408
// LHS "matchers" against the provided token tree, and if it finds a
409409
// match, will transcribe the RHS token tree, splicing in any captured
410-
// earley_parser::matched_nonterminals into the tt_nonterminals it finds.
410+
// macro_parser::matched_nonterminals into the tt_nonterminals it finds.
411411
//
412412
// The RHS of an MBE macro is the only place a tt_nonterminal or tt_seq
413413
// makes any real sense. You could write them elsewhere but nothing

trunk/src/libsyntax/ext/base.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ fn tt_args_to_original_flavor(cx: ext_ctxt, sp: span, arg: ~[ast::token_tree])
301301
-> ast::mac_arg {
302302
import ast::{matcher, matcher_, match_tok, match_seq, match_nonterminal};
303303
import parse::lexer::{new_tt_reader, reader};
304-
import tt::earley_parser::{parse_or_else, matched_seq,
305-
matched_nonterminal};
304+
import tt::macro_parser::{parse_or_else, matched_seq,
305+
matched_nonterminal};
306306

307307
// these spans won't matter, anyways
308308
fn ms(m: matcher_) -> matcher {

trunk/src/libsyntax/ext/tt/macro_rules.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import ast::{ident, matcher_, matcher, match_tok,
55
import parse::lexer::{new_tt_reader, reader};
66
import parse::token::{FAT_ARROW, SEMI, LBRACE, RBRACE, nt_matchers, nt_tt};
77
import parse::parser::{parser, SOURCE_FILE};
8-
import earley_parser::{parse, parse_or_else, success, failure, named_match,
9-
matched_seq, matched_nonterminal, error};
8+
import macro_parser::{parse, parse_or_else, success, failure, named_match,
9+
matched_seq, matched_nonterminal, error};
1010
import std::map::hashmap;
1111
import parse::token::special_idents;
1212

trunk/src/libsyntax/ext/tt/transcribe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import diagnostic::span_handler;
22
import ast::{token_tree, tt_delim, tt_tok, tt_seq, tt_nonterminal,ident};
3-
import earley_parser::{named_match, matched_seq, matched_nonterminal};
3+
import macro_parser::{named_match, matched_seq, matched_nonterminal};
44
import codemap::span;
55
import parse::token::{EOF, INTERPOLATED, IDENT, token, nt_ident,
66
ident_interner};

trunk/src/libsyntax/syntax.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ mod ext {
6767

6868
mod tt {
6969
mod transcribe;
70-
mod earley_parser;
70+
mod macro_parser;
7171
mod macro_rules;
7272
}
7373

0 commit comments

Comments
 (0)