File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
trunk/src/libsyntax/parse Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 16da4e15af02f92d4c7e7cfe36344a276096585d
2
+ refs/heads/master: ded95d2c2891d7ffec1277cb4969ed956ff0bd25
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
5
5
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ use std::oldmap::HashMap;
25
25
26
26
#[ auto_encode]
27
27
#[ auto_decode]
28
+ #[ deriving_eq]
28
29
pub enum binop {
29
30
PLUS ,
30
31
MINUS ,
@@ -518,12 +519,6 @@ pub fn reserved_keyword_table() -> HashMap<~str, ()> {
518
519
words
519
520
}
520
521
521
- impl binop : cmp:: Eq {
522
- pure fn eq( & self , other: & binop) -> bool {
523
- ( ( * self ) as uint) == ( ( * other) as uint)
524
- }
525
- pure fn ne( & self , other: & binop) -> bool { !( * self ) . eq( other) }
526
- }
527
522
528
523
impl Token : cmp:: Eq {
529
524
pure fn eq( & self , other: & Token ) -> bool {
You can’t perform that action at this time.
0 commit comments