summaryrefslogtreecommitdiffstats
path: root/src/front
diff options
context:
space:
mode:
authorBenedikt Böhm <bb@xnull.de>2009-07-06 22:17:27 +0200
committerBenedikt Böhm <bb@xnull.de>2009-07-06 22:17:27 +0200
commit7cffb459f7bf1ff57cec9814301b582366cae515 (patch)
tree0c30c2c46b406f1f82c554ed8c122fb7adad1348 /src/front
parent3ace855e1a5707de68c530c17f24cde226b19bb6 (diff)
downloadswppy-7cffb459f7bf1ff57cec9814301b582366cae515.tar.gz
swppy-7cffb459f7bf1ff57cec9814301b582366cae515.tar.xz
swppy-7cffb459f7bf1ff57cec9814301b582366cae515.zip
minor fixes
Diffstat (limited to 'src/front')
-rw-r--r--src/front/lexer.py2
1 files changed, 1 insertions, 1 deletions
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))