aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/lexer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/front/lexer.rs')
-rw-r--r--src/comp/front/lexer.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/front/lexer.rs b/src/comp/front/lexer.rs
index 878940b7..86b872da 100644
--- a/src/comp/front/lexer.rs
+++ b/src/comp/front/lexer.rs
@@ -169,6 +169,7 @@ impure fn new_reader(io.reader rdr, str filename) -> reader
keywords.insert("any", token.ANY);
keywords.insert("obj", token.OBJ);
+ keywords.insert("self", token.SELF);
keywords.insert("port", token.PORT);
keywords.insert("chan", token.CHAN);