about summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
diff options
context:
space:
mode:
authorBrendan Zabarauskas <bjzaba@yahoo.com.au>2013-05-01 15:40:05 +1000
committerBrendan Zabarauskas <bjzaba@yahoo.com.au>2013-05-01 15:40:05 +1000
commitee26c7c433dbb8d41a2b65dbc89eb84acfc2d311 (patch)
tree3695dcd0a6ef66dcca551d6bb87776694987ee73 /src/libsyntax/parse/token.rs
parent7a857673ff76c966ceb061e3794b119e2e498c40 (diff)
downloadrust-ee26c7c433dbb8d41a2b65dbc89eb84acfc2d311.tar.gz
rust-ee26c7c433dbb8d41a2b65dbc89eb84acfc2d311.zip
Revert rename of Div to Quot
Diffstat (limited to 'src/libsyntax/parse/token.rs')
-rw-r--r--src/libsyntax/parse/token.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index 0327a3b80da..9426e9abab3 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -371,7 +371,7 @@ impl<'self> to_bytes::IterBytes for StringRef<'self> {
 pub fn token_to_binop(tok: Token) -> Option<ast::binop> {
   match tok {
       BINOP(STAR)    => Some(ast::mul),
-      BINOP(SLASH)   => Some(ast::quot),
+      BINOP(SLASH)   => Some(ast::div),
       BINOP(PERCENT) => Some(ast::rem),
       BINOP(PLUS)    => Some(ast::add),
       BINOP(MINUS)   => Some(ast::subtract),