aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_macros/src/mbe_parser.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-31 14:16:02 +0000
committerAleksey Kladov <[email protected]>2019-01-31 20:23:30 +0000
commit59347388541388347e86de9718bd69994c113203 (patch)
treea0d1a61062a0e247526ee3b44545cd20df26fc91 /crates/ra_macros/src/mbe_parser.rs
parentbe03aa5ee79241a6d22a79625e37f2ce5559a345 (diff)
first test sort-of passes
Diffstat (limited to 'crates/ra_macros/src/mbe_parser.rs')
-rw-r--r--crates/ra_macros/src/mbe_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_macros/src/mbe_parser.rs b/crates/ra_macros/src/mbe_parser.rs
index 024d3a040..279ab2f25 100644
--- a/crates/ra_macros/src/mbe_parser.rs
+++ b/crates/ra_macros/src/mbe_parser.rs
@@ -84,7 +84,7 @@ fn parse_repeat(p: &mut TtCursor) -> Option<mbe::Repeat> {
84 let kind = match rep { 84 let kind = match rep {
85 '*' => mbe::RepeatKind::ZeroOrMore, 85 '*' => mbe::RepeatKind::ZeroOrMore,
86 '+' => mbe::RepeatKind::OneOrMore, 86 '+' => mbe::RepeatKind::OneOrMore,
87 '?' => mbe::RepeatKind::ZeroOrMore, 87 '?' => mbe::RepeatKind::ZeroOrOne,
88 _ => return None, 88 _ => return None,
89 }; 89 };
90 p.bump(); 90 p.bump();