Skip to content

Commit

Permalink
Treat ; as a terminator rather than something that can be glued toget…
Browse files Browse the repository at this point in the history
…her in an expression
  • Loading branch information
gbbosak committed Dec 22, 2024
1 parent fa4a40b commit 5162a9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/tt/src/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ impl<'a, S: Copy> TtIter<'a, S> {
}
('-' | '!' | '*' | '/' | '&' | '%' | '^' | '+' | '<' | '=' | '>' | '|', '=', _)
| ('-' | '=' | '>', '>', _)
| (_, _, Some(';'))
| ('<', '-', _)
| (':', ':', _)
| ('.', '.', _)
Expand Down

0 comments on commit 5162a9a

Please sign in to comment.