mbe: treat <-
as one punct
This commit is contained in:
parent
ec7148b091
commit
767351fb87
@ -119,6 +119,7 @@ pub(crate) fn expect_single_punct(&mut self) -> Result<&'a tt::Punct, ()> {
|
|||||||
}
|
}
|
||||||
('-' | '!' | '*' | '/' | '&' | '%' | '^' | '+' | '<' | '=' | '>' | '|', '=', _)
|
('-' | '!' | '*' | '/' | '&' | '%' | '^' | '+' | '<' | '=' | '>' | '|', '=', _)
|
||||||
| ('-' | '=' | '>', '>', _)
|
| ('-' | '=' | '>', '>', _)
|
||||||
|
| ('<', '-', _)
|
||||||
| (':', ':', _)
|
| (':', ':', _)
|
||||||
| ('.', '.', _)
|
| ('.', '.', _)
|
||||||
| ('&', '&', _)
|
| ('&', '&', _)
|
||||||
|
Loading…
Reference in New Issue
Block a user