Unnamed repository; edit this file 'description' to name the repository.
Merge pull request #18744 from gbbosak/master
Treat ; as a terminator rather part of a glued expression
Lukas Wirth 2024-12-27
parent 1ce4de2 · parent 5162a9a · commit a77cf8e
-rw-r--r--crates/tt/src/iter.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/tt/src/iter.rs b/crates/tt/src/iter.rs
index 587b903aa9..4d7fe0b5a0 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(';'))
| ('<', '-', _)
| (':', ':', _)
| ('.', '.', _)