aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/token.rs
diff options
context:
space:
mode:
authorLindsey Kuper <[email protected]>2011-03-29 15:51:53 -0700
committerLindsey Kuper <[email protected]>2011-03-29 15:59:15 -0700
commit55fbed3d8d7078bfd3864e64cc044cbe876c5d1a (patch)
tree3c0a53f8f59dbda781fda2a7ad1e5afcce719de2 /src/comp/front/token.rs
parentIgnore 'mutable foo' in plain field contexts. (diff)
downloadrust-55fbed3d8d7078bfd3864e64cc044cbe876c5d1a.tar.xz
rust-55fbed3d8d7078bfd3864e64cc044cbe876c5d1a.zip
Beginnings of support for magical self prefix; nothing profound happening yet.
Diffstat (limited to 'src/comp/front/token.rs')
-rw-r--r--src/comp/front/token.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp/front/token.rs b/src/comp/front/token.rs
index bb0cea80..5ac9d662 100644
--- a/src/comp/front/token.rs
+++ b/src/comp/front/token.rs
@@ -160,8 +160,9 @@ tag token {
FN;
ITER;
- /* Object type */
+ /* Object type and related keywords */
OBJ;
+ SELF;
/* Comm and task types */
CHAN;