File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
branches/try2/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 @@ -5,7 +5,7 @@ refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5
5
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 0429493363414d5be8e028812fd01a8a309ef24e
8
+ refs/heads/try2: 73649f36e8092006560e5d48213fcf067de38a6f
9
9
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10
10
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
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