about summary refs log tree commit diff
path: root/src/comp/syntax/parse/token.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/syntax/parse/token.rs')
-rw-r--r--src/comp/syntax/parse/token.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/syntax/parse/token.rs b/src/comp/syntax/parse/token.rs
index e5dcc8b61f7..e1851d831b1 100644
--- a/src/comp/syntax/parse/token.rs
+++ b/src/comp/syntax/parse/token.rs
@@ -5,7 +5,7 @@ import lexer::reader;
 
 type str_num = uint;
 
-tag binop {
+enum binop {
     PLUS;
     MINUS;
     STAR;
@@ -19,7 +19,7 @@ tag binop {
     ASR;
 }
 
-tag token {
+enum token {
     /* Expression-operator symbols. */
     EQ;
     LT;