File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
branches/dist-snap/src/libcore Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9
9
refs/heads/incoming: 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d
10
- refs/heads/dist-snap: 0429493363414d5be8e028812fd01a8a309ef24e
10
+ refs/heads/dist-snap: 73649f36e8092006560e5d48213fcf067de38a6f
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
12
12
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
13
13
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
Original file line number Diff line number Diff line change @@ -102,10 +102,13 @@ pub mod ct {
102
102
use str;
103
103
use vec;
104
104
105
+ #[ deriving_eq]
105
106
pub enum Signedness { Signed , Unsigned , }
106
107
108
+ #[ deriving_eq]
107
109
pub enum Caseness { CaseUpper , CaseLower , }
108
110
111
+ #[ deriving_eq]
109
112
pub enum Ty {
110
113
TyBool ,
111
114
TyStr ,
@@ -118,6 +121,7 @@ pub mod ct {
118
121
TyPoly ,
119
122
}
120
123
124
+ #[ deriving_eq]
121
125
pub enum Flag {
122
126
FlagLeftJustify ,
123
127
FlagLeftZeroPad ,
@@ -126,13 +130,15 @@ pub mod ct {
126
130
FlagAlternate ,
127
131
}
128
132
133
+ #[ deriving_eq]
129
134
pub enum Count {
130
135
CountIs ( uint ) ,
131
136
CountIsParam ( uint ) ,
132
137
CountIsNextParam ,
133
138
CountImplied ,
134
139
}
135
140
141
+ #[ deriving_eq]
136
142
struct Parsed < T > {
137
143
val : T ,
138
144
next : uint
@@ -145,6 +151,7 @@ pub mod ct {
145
151
}
146
152
147
153
// A formatted conversion from an expression to a string
154
+ #[ deriving_eq]
148
155
pub struct Conv {
149
156
param : Option < uint > ,
150
157
flags : ~[ Flag ] ,
@@ -154,6 +161,7 @@ pub mod ct {
154
161
}
155
162
156
163
// A fragment of the output sequence
164
+ #[ deriving_eq]
157
165
pub enum Piece { PieceString ( ~str ) , PieceConv ( Conv ) , }
158
166
159
167
pub type ErrorFn = @fn ( & str ) -> !;
You can’t perform that action at this time.
0 commit comments