From 55fbed3d8d7078bfd3864e64cc044cbe876c5d1a Mon Sep 17 00:00:00 2001 From: Lindsey Kuper Date: Tue, 29 Mar 2011 15:51:53 -0700 Subject: Beginnings of support for magical self prefix; nothing profound happening yet. --- src/comp/front/lexer.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/comp/front/lexer.rs') 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); -- cgit v1.2.3