about summary refs log tree commit diff
path: root/src/libsyntax/parse/prec.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/parse/prec.rs')
-rw-r--r--src/libsyntax/parse/prec.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/prec.rs b/src/libsyntax/parse/prec.rs
index e2a89d2a28c..79adabec9b7 100644
--- a/src/libsyntax/parse/prec.rs
+++ b/src/libsyntax/parse/prec.rs
@@ -16,13 +16,13 @@ use parse::token::Token;
 use core::prelude::*;
 
 /// Unary operators have higher precedence than binary
-pub const unop_prec: uint = 100u;
+pub static unop_prec: uint = 100u;
 
 /**
  * Precedence of the `as` operator, which is a binary operator
  * but is not represented in the precedence table.
  */
-pub const as_prec: uint = 11u;
+pub static as_prec: uint = 11u;
 
 /**
  * Maps a token to a record specifying the corresponding binary