summaryrefslogtreecommitdiffstats
path: root/src/front/token.py
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2009-06-23 03:21:32 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2009-06-23 03:23:55 +0200
commit41a2c1fdaa07b3b51bf6073bf6fbb0156b085fa5 (patch)
treee20415ce452f7c84befcd98d2b349ad65876087b /src/front/token.py
parent5dd84e8e76132ad2e1a58de28ec94ca7ee1ab969 (diff)
downloadswppy-41a2c1fdaa07b3b51bf6073bf6fbb0156b085fa5.tar.gz
swppy-41a2c1fdaa07b3b51bf6073bf6fbb0156b085fa5.tar.xz
swppy-41a2c1fdaa07b3b51bf6073bf6fbb0156b085fa5.zip
added parser
- commited parser (Michael Popov) - changed encoding of parser.py to utf8
Diffstat (limited to '')
-rw-r--r--src/front/token.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/front/token.py b/src/front/token.py
index e1bc8d8..bfcc082 100644
--- a/src/front/token.py
+++ b/src/front/token.py
@@ -30,6 +30,8 @@ Tag.FUN = Tag("FUN")
Tag.ASSIGNMENT = Tag("ASSIGNMENT")
Tag.RETURN = Tag("RETURN")
Tag.OPERATOR = Tag("OPERATOR")
+Tag.TRUE = Tag("TRUE")
+Tag.FALSE = Tag("FALSE")
class Token(object):
__slots__ = ["tag","value"]