summaryrefslogtreecommitdiffstats
path: root/src/front
diff options
context:
space:
mode:
authorAndreas Nüßlein <nutz@unfoog.de>2009-07-06 22:19:31 +0200
committerAndreas Nüßlein <nutz@unfoog.de>2009-07-06 22:19:31 +0200
commitb5d10e72de8d93a232886f069db9791b85c3e332 (patch)
treefa1961d660d0f703b350973e89ee1dff8bc6d211 /src/front
parent4c8825db2147d7953ffbc564d8307cd4eec00d8d (diff)
parent7cffb459f7bf1ff57cec9814301b582366cae515 (diff)
downloadswppy-b5d10e72de8d93a232886f069db9791b85c3e332.tar.gz
swppy-b5d10e72de8d93a232886f069db9791b85c3e332.tar.xz
swppy-b5d10e72de8d93a232886f069db9791b85c3e332.zip
Merge branch 'master' of git@git.animux.de:swppy
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))