mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
first test sort-of passes
This commit is contained in:
parent
be03aa5ee7
commit
5934738854
8 changed files with 218 additions and 43 deletions
|
@ -84,7 +84,7 @@ fn parse_repeat(p: &mut TtCursor) -> Option<mbe::Repeat> {
|
|||
let kind = match rep {
|
||||
'*' => mbe::RepeatKind::ZeroOrMore,
|
||||
'+' => mbe::RepeatKind::OneOrMore,
|
||||
'?' => mbe::RepeatKind::ZeroOrMore,
|
||||
'?' => mbe::RepeatKind::ZeroOrOne,
|
||||
_ => return None,
|
||||
};
|
||||
p.bump();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue