mbe: treat <- as one punct

This commit is contained in:
Ryo Yoshida 2022-12-27 18:33:21 +09:00
parent ec7148b091
commit 767351fb87
No known key found for this signature in database
GPG Key ID: E25698A930586171

View File

@ -119,6 +119,7 @@ pub(crate) fn expect_single_punct(&mut self) -> Result<&'a tt::Punct, ()> {
}
('-' | '!' | '*' | '/' | '&' | '%' | '^' | '+' | '<' | '=' | '>' | '|', '=', _)
| ('-' | '=' | '>', '>', _)
| ('<', '-', _)
| (':', ':', _)
| ('.', '.', _)
| ('&', '&', _)