summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-12-07 14:42:25 +0100
committerLaurenz <laurmaedje@gmail.com>2019-12-07 14:42:25 +0100
commitf364395e1d774456500ea61bb7b931f48a62ddfa (patch)
treeb4d66bd44c619d8ff93f36686c91752910fa4768 /src
parent1099330988da78c82c6e155fab88d81fb2f1d4c0 (diff)
Create parsing test harness ⚡
Diffstat (limited to 'src')
-rw-r--r--src/syntax/tokens.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/tokens.rs b/src/syntax/tokens.rs
index 4fdee371..95b2ea3e 100644
--- a/src/syntax/tokens.rs
+++ b/src/syntax/tokens.rs
@@ -204,7 +204,7 @@ impl<'s> Iterator for Tokens<'s> {
'\\' => {
if let Some((index, c)) = self.chars.peek() {
let escapable = match c {
- '[' | ']' | '\\' | '*' | '_' | '`' | ':' | '=' | '/' => true,
+ '[' | ']' | '\\' | '*' | '_' | '`' | ':' | '=' | ',' | '/' => true,
_ => false,
};