Skip to content

Commit 77cc40f

Browse files
committed
---
yaml --- r: 30074 b: refs/heads/incoming c: 18180fd h: refs/heads/master v: v3
1 parent 959776d commit 77cc40f

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
@@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9-
refs/heads/incoming: e54acbf8488c877eeca264948e7e94f3c3434d41
9+
refs/heads/incoming: 18180fd5dac16582474b5ec0fd49ebb03f7f939d
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/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

branches/incoming/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 {

branches/incoming/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

branches/incoming/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};

branches/incoming/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)