forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit16c302f
committed
Simplify code for getting a unicode codepoint's canonical class.
Three places of unicode_norm.c use a similar logic for getting thecombining class from a codepoint. Commit2991ac5 has added the functionget_canonical_class() for this purpose, but it was only called by thebackend. This commit refactors the code to use this function in allthe places where the combining class is retrieved from a givencodepoint.Author: John NaylorDiscussion:https://postgr.es/m/CAFBsxsHUV7s7YrOm6hFz-Jq8Sc7K_yxTkfNZxsDV-DuM-k-gwg@mail.gmail.com1 parentdf99ddc commit16c302f
1 file changed
+22
-25
lines changedLines changed: 22 additions & 25 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
108 | 125 |
| |
109 | 126 |
| |
110 | 127 |
| |
| |||
430 | 447 |
| |
431 | 448 |
| |
432 | 449 |
| |
433 |
| - | |
434 |
| - | |
435 |
| - | |
436 |
| - | |
437 |
| - | |
438 |
| - | |
439 |
| - | |
440 |
| - | |
441 |
| - | |
442 |
| - | |
| 450 | + | |
| 451 | + | |
443 | 452 |
| |
444 | 453 |
| |
445 | 454 |
| |
| |||
449 | 458 |
| |
450 | 459 |
| |
451 | 460 |
| |
452 |
| - | |
| 461 | + | |
453 | 462 |
| |
454 | 463 |
| |
455 |
| - | |
| 464 | + | |
456 | 465 |
| |
457 | 466 |
| |
458 | 467 |
| |
| |||
489 | 498 |
| |
490 | 499 |
| |
491 | 500 |
| |
492 |
| - | |
493 |
| - | |
| 501 | + | |
494 | 502 |
| |
495 | 503 |
| |
496 | 504 |
| |
| |||
527 | 535 |
| |
528 | 536 |
| |
529 | 537 |
| |
530 |
| - | |
531 |
| - | |
532 |
| - | |
533 |
| - | |
534 |
| - | |
535 |
| - | |
536 |
| - | |
537 |
| - | |
538 |
| - | |
539 |
| - | |
540 |
| - | |
541 | 538 |
| |
542 | 539 |
| |
543 | 540 |
| |
|
0 commit comments
Comments
(0)