Treat ; as a terminator rather than something that can be glued together in an expression

This commit is contained in:
Brian Bosak 2024-12-22 16:44:01 -06:00
parent fa4a40bbe8
commit 5162a9ab1c

View File

@ -132,6 +132,7 @@ impl<'a, S: Copy> TtIter<'a, S> {
}
('-' | '!' | '*' | '/' | '&' | '%' | '^' | '+' | '<' | '=' | '>' | '|', '=', _)
| ('-' | '=' | '>', '>', _)
| (_, _, Some(';'))
| ('<', '-', _)
| (':', ':', _)
| ('.', '.', _)