diff options
| author | Lindsey Kuper <lindsey@rockstargirl.org> | 2013-01-04 09:52:07 -0500 |
|---|---|---|
| committer | Lindsey Kuper <lindsey@rockstargirl.org> | 2013-01-08 14:31:58 -0500 |
| commit | 816cb8c5350084e04770b9c3a133400923bd2e1b (patch) | |
| tree | c6323c01c79fca95a4ba81438167f4651aca7c22 /src/libsyntax/ext | |
| parent | 2d9b1fee8f623b2d6724084b8506f3309f380d24 (diff) | |
| download | rust-816cb8c5350084e04770b9c3a133400923bd2e1b.tar.gz rust-816cb8c5350084e04770b9c3a133400923bd2e1b.zip | |
Rename identifiers that still use 'alt' to use 'match'
This'll be less confusing for anyone who works on match in future.
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/tt/macro_parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/tt/macro_parser.rs b/src/libsyntax/ext/tt/macro_parser.rs index c7b4a2b239a..724e2fc9dba 100644 --- a/src/libsyntax/ext/tt/macro_parser.rs +++ b/src/libsyntax/ext/tt/macro_parser.rs @@ -245,7 +245,7 @@ fn parse(sess: parse_sess, cfg: ast::crate_cfg, rdr: reader, ms: ~[matcher]) /* at end of sequence */ if idx >= len { - // can't move out of `alt`s, so: + // can't move out of `match`es, so: if is_some(ei.up) { // hack: a matcher sequence is repeating iff it has a // parent (the top level is just a container) |
