This commit is contained in:
2024-05-10 15:06:17 +02:00
parent a7f085fb07
commit 7aae829763
4 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ const SYNTAX: [Node; 14] = [
},
Node {
token_type: TokenType::Operator,
token_regex: Lazy::new(|| Regex::new(r"^[|\-|\+|\*|\=|\!]").unwrap())
token_regex: Lazy::new(|| Regex::new(r"^[|\-|\+|\*|\=|\!|\&]").unwrap())
},
Node {
token_type: TokenType::Round,