Commit b0c3c5f
committed
pp_pack.c: S_utf8_to_bytes: Rmv loop
Prior to this commit, the code went through the buffer with warnings
turned off, but saving the fact if there were problems. If so, it ran
through the buffer again, with warnings turned on to display those
problems.
I'm unsure of why it didn't output any warnings until it got to the end.
But utf8_to_uv_msgs() allows us to store up the messages and output them
later in the same order as encountered, and without having to reparse1 parent f087bac commit b0c3c5f
1 file changed
+36
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| 291 | + | |
291 | 292 | | |
292 | 293 | | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
301 | 302 | | |
| 303 | + | |
302 | 304 | | |
303 | 305 | | |
304 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
305 | 317 | | |
306 | 318 | | |
307 | 319 | | |
308 | 320 | | |
309 | 321 | | |
310 | 322 | | |
311 | 323 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
322 | 341 | | |
323 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
324 | 346 | | |
325 | 347 | | |
326 | 348 | | |
327 | 349 | | |
328 | 350 | | |
329 | 351 | | |
330 | | - | |
331 | 352 | | |
332 | 353 | | |
333 | 354 | | |
| |||
0 commit comments