From a9ce78c1a319f697870c3b4c29a6e3077575daf9 Mon Sep 17 00:00:00 2001 From: acereca Date: Mon, 23 Oct 2023 11:14:17 +0200 Subject: [PATCH] expand operator list --- skillls/parsing/iterative.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skillls/parsing/iterative.py b/skillls/parsing/iterative.py index f2e3635..899f2e4 100644 --- a/skillls/parsing/iterative.py +++ b/skillls/parsing/iterative.py @@ -64,7 +64,7 @@ class StackElement(NamedTuple): WHITESPACE_OR_PAREN = re.compile(r"(\s|\(|\)|\[|\]|\'\()+") TOKEN_REGEX = re.compile(r"\w[a-zA-Z0-9_]*") NUMBER_REGEX = re.compile(r"\d+(\.\d+)?") -OPERATORS = re.compile(r"(->|~>|\+|\-|\*|\/|\=)") +OPERATORS = re.compile(r"(->|~>|\+|\-|\*|\/|\=|\|\||\&\&)") @dataclass