Commit 1a75eff
committed
Introduce
Many extra fields (e.g., 0x000a and 0x000c) have sub-tags using the
same (id, len, *fields) format. Introduce a `_handle_bad_field` class
method to allow a subclass to parse with same logic while providing a
customized error message._handle_bad_field to make subclassing easier1 parent 7b691b1 commit 1a75eff
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
201 | 205 | | |
202 | 206 | | |
203 | 207 | | |
| |||
213 | 217 | | |
214 | 218 | | |
215 | 219 | | |
216 | | - | |
217 | | - | |
| 220 | + | |
218 | 221 | | |
219 | 222 | | |
220 | 223 | | |
| |||
0 commit comments