164
165
166
167
168
169
170
|
procedure TcAddrCalc(PresentAddr : in integer;
AccWidth : in DynamicSize_T;
}
displayPatch gurka
set ::_patchfiles(e)
} -result {6}
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
|
procedure TcAddrCalc(PresentAddr : in integer;
AccWidth : in DynamicSize_T;
}
displayPatch gurka
set ::_patchfiles(e)
} -result {6}
test patch-2.1 {
Format with #
} -body {
_PatchInit
set ::testpatch [string trim {
--- foo.txt 2016-07-10 21:53:36.671932638 -0700
+++ bar.txt 2016-07-10 21:53:54.739860205 -0700
## -1 +1,2 ##
+0
1
## -5 +8,9 ##
+0
1
}]
displayPatch gurka
concat $_patchfiles(ll) $_patchfiles(rl)
} -result {1 5 1 2 8 9}
test patch-2.2 {
FOrmat with #
} -body {
_PatchInit
set ::testpatch [string trim {
--- foo.txt 2016-07-10 21:53:36.671932638 -0700
+++ bar.txt 2016-07-10 21:53:54.739860205 -0700
## -1 +1 ##
+0
1
## -5 +8 ##
+0
1
}]
displayPatch gurka
concat $_patchfiles(ll) $_patchfiles(rl)
} -result {1 5 1 2 8 9}
|