From 5162a9ab1cc1993302a9df0d1a7571b8b1b00c8d Mon Sep 17 00:00:00 2001 From: Brian Bosak Date: Sun, 22 Dec 2024 16:44:01 -0600 Subject: [PATCH] Treat ; as a terminator rather than something that can be glued together in an expression --- crates/tt/src/iter.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/tt/src/iter.rs b/crates/tt/src/iter.rs index 587b903aa97a..4d7fe0b5a06e 100644 --- a/crates/tt/src/iter.rs +++ b/crates/tt/src/iter.rs @@ -132,6 +132,7 @@ impl<'a, S: Copy> TtIter<'a, S> { } ('-' | '!' | '*' | '/' | '&' | '%' | '^' | '+' | '<' | '=' | '>' | '|', '=', _) | ('-' | '=' | '>', '>', _) + | (_, _, Some(';')) | ('<', '-', _) | (':', ':', _) | ('.', '.', _)