re-ignore the ! symbol when generating a good error message

This commit is contained in:
Irevoire 2021-11-09 17:08:04 +01:00
parent bff48681d2
commit 7c3017734a
No known key found for this signature in database
GPG Key ID: 7A6A970C96104F1B

View File

@ -70,7 +70,7 @@ fn is_value_component(c: char) -> bool {
}
fn is_syntax_component(c: char) -> bool {
c.is_whitespace() || ['(', ')', '=', '<', '>'].contains(&c)
c.is_whitespace() || ['(', ')', '=', '<', '>', '!'].contains(&c)
}
#[cfg(test)]