Add more two-character lexems to Rust parser

pull/25/head
Wilfred Hughes 2021-07-13 23:36:52 +07:00
parent 4c79267602
commit a2e36cac46
2 changed files with 5 additions and 1 deletions

@ -1,5 +1,9 @@
## 0.5 (unreleased)
### Parsing
Improved parsing for Rust punctuation.
## 0.4
### Parsing

@ -163,7 +163,7 @@ atom_patterns = [
# Symbols (e.g. variable names)
'[a-zA-Z0-9_]+!?',
# Two character operators
'(::|&&|\|\||\.\.)',
'(::|&&|\|\||\.\.|=>|<=|>=|==|!=)',
# Single character operators
# | is a delimiter for lambdas, but also used in pattern matching.
'[.&=<>/*+:;,|#!?$-]',