From 7cffb459f7bf1ff57cec9814301b582366cae515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20B=C3=B6hm?= Date: Mon, 6 Jul 2009 22:17:27 +0200 Subject: minor fixes --- src/front/lexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/front') diff --git a/src/front/lexer.py b/src/front/lexer.py index dcaa672..14e162d 100644 --- a/src/front/lexer.py +++ b/src/front/lexer.py @@ -80,7 +80,7 @@ class Lexer: return Token(Tag.NUMBER, int(match.group(0))) # operatoren matchen - match = re.match(r"^(<=|==|>=|&&|\|\||<|>|\+|-|\*|/)", self.currentLine) + match = re.match(r"^(<=|==|!=|>=|&&|\|\||<|>|\+|-|\*|/|%)", self.currentLine) if match: self.currentLine = self.currentLine[match.end(0):] return Token(Tag.OPERATOR, match.group(0)) -- cgit v1.2.3