Mercurial > vim
view runtime/spell/en/en_CA.diff @ 33506:f61713271934 v9.0.2002
patch 9.0.2002: Vim9: need cleanup of class related interface code
Commit: https://github.com/vim/vim/commit/b852305dbf42f1206ecc6ae414fc200235fe2963
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sun Oct 8 19:07:39 2023 +0200
patch 9.0.2002: Vim9: need cleanup of class related interface code
Problem: Vim9: need cleanup of class related interface code
Solution: Remove the unused class variable and class method related code
for interfaces.
Remove unused class variable and class method related code for
interfaces.
Refactor the code.
Optimize the object/class member double lookup in compile_lhs().
Change unused global functions to static functions.
closes: #13302
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 08 Oct 2023 19:15:06 +0200 |
parents | 319980d694f4 |
children |
line wrap: on
line source
*** en_CA.orig.aff 2015-12-30 18:18:20.076952127 +0100 --- en_CA.aff 2016-01-09 13:15:51.306488848 +0100 *************** *** 2,18 **** TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ' ! ICONV 1 ! ICONV ’ ' NOSUGGEST ! ! # ordinal numbers ! COMPOUNDMIN 1 ! # only in compounds: 1th, 2th, 3th ! ONLYINCOMPOUND c ! # compound rules: ! # 1. [0-9]*1[0-9]th (10th, 11th, 12th, 56714th, etc.) ! # 2. [0-9]*[02-9](1st|2nd|3rd|[4-9]th) (21st, 22nd, 123rd, 1234th, etc.) ! COMPOUNDRULE 2 ! COMPOUNDRULE n*1t ! COMPOUNDRULE n*mp ! WORDCHARS 0123456789 --- 2,161 ---- TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ' ! ! # ICONV 1 ! # ICONV ’ ' ! NOSUGGEST ! ! FOL àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ! LOW àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ! UPP ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ ! ! MIDWORD ' ! ! RARE ? ! BAD % ! ! MAP 9 ! MAP aàáâãäå ! MAP eèéêë ! MAP iìíîï ! MAP oòóôõö ! MAP uùúûü ! MAP nñ ! MAP cç ! MAP yÿý ! MAP sß ! ! # This comes from Aspell en_phonet.dat, version 1.1, 2000-01-07 ! ! SAL AH(AEIOUY)-^ *H ! SAL AR(AEIOUY)-^ *R ! SAL A(HR)^ * ! SAL A^ * ! SAL AH(AEIOUY)- H ! SAL AR(AEIOUY)- R ! SAL A(HR) _ ! SAL À^ * ! SAL Å^ * ! SAL BB- _ ! SAL B B ! SAL CQ- _ ! SAL CIA X ! SAL CH X ! SAL C(EIY)- S ! SAL CK K ! SAL COUGH^ KF ! SAL CC< C ! SAL C K ! SAL DG(EIY) K ! SAL DD- _ ! SAL D T ! SAL É< E ! SAL EH(AEIOUY)-^ *H ! SAL ER(AEIOUY)-^ *R ! SAL E(HR)^ * ! SAL ENOUGH^$ *NF ! SAL E^ * ! SAL EH(AEIOUY)- H ! SAL ER(AEIOUY)- R ! SAL E(HR) _ ! SAL FF- _ ! SAL F F ! SAL GN^ N ! SAL GN$ N ! SAL GNS$ NS ! SAL GNED$ N ! SAL GH(AEIOUY)- K ! SAL GH _ ! SAL GG9 K ! SAL G K ! SAL H H ! SAL IH(AEIOUY)-^ *H ! SAL IR(AEIOUY)-^ *R ! SAL I(HR)^ * ! SAL I^ * ! SAL ING6 N ! SAL IH(AEIOUY)- H ! SAL IR(AEIOUY)- R ! SAL I(HR) _ ! SAL J K ! SAL KN^ N ! SAL KK- _ ! SAL K K ! SAL LAUGH^ LF ! SAL LL- _ ! SAL L L ! SAL MB$ M ! SAL MM M ! SAL M M ! SAL NN- _ ! SAL N N ! SAL OH(AEIOUY)-^ *H ! SAL OR(AEIOUY)-^ *R ! SAL O(HR)^ * ! SAL O^ * ! SAL OH(AEIOUY)- H ! SAL OR(AEIOUY)- R ! SAL O(HR) _ ! SAL PH F ! SAL PN^ N ! SAL PP- _ ! SAL P P ! SAL Q K ! SAL RH^ R ! SAL ROUGH^ RF ! SAL RR- _ ! SAL R R ! SAL SCH(EOU)- SK ! SAL SC(IEY)- S ! SAL SH X ! SAL SI(AO)- X ! SAL SS- _ ! SAL S S ! SAL TI(AO)- X ! SAL TH @ ! SAL TCH-- _ ! SAL TOUGH^ TF ! SAL TT- _ ! SAL T T ! SAL UH(AEIOUY)-^ *H ! SAL UR(AEIOUY)-^ *R ! SAL U(HR)^ * ! SAL U^ * ! SAL UH(AEIOUY)- H ! SAL UR(AEIOUY)- R ! SAL U(HR) _ ! SAL V^ W ! SAL V F ! SAL WR^ R ! SAL WH^ W ! SAL W(AEIOU)- W ! SAL X^ S ! SAL X KS ! SAL Y(AEIOU)- Y ! SAL ZZ- _ ! SAL Z S ! ! # When soundfolding "th" is turned into "@". When this is mistyped as "ht" it ! # soundfolds to "ht". This difference is too big, thus use REP items to lower ! # the score. ! REPSAL 2 ! REPSAL ht @ ! REPSAL @ ht ! ! # This is disabled, because if Vim does not support NOCOMPOUNDSUGS giving ! # suggestions is extremely slow. ! ## ordinal numbers ! #COMPOUNDMIN 1 ! ## only in compounds: 1th, 2th, 3th ! #ONLYINCOMPOUND c ! ## compound rules: ! ## 1. [0-9]*1[0-9]th (10th, 11th, 12th, 56714th, etc.) ! ## 2. [0-9]*[02-9](1st|2nd|3rd|[4-9]th) (21st, 22nd, 123rd, 1234th, etc.) ! #COMPOUNDRULE 2 ! #COMPOUNDRULE n*1t ! #COMPOUNDRULE n*mp ! #NOCOMPOUNDSUGS ! ! # WORDCHARS 0123456789 *** en_CA.orig.dic 2015-12-30 18:20:47.803358258 +0100 --- en_CA.dic 2016-01-08 23:03:52.562085247 +0100 *************** *** 1,25 **** 48929 ! 0/nm ! 0th/pt ! 1/n1 ! 1st/p ! 1th/tc ! 2/nm ! 2nd/p ! 2th/tc ! 3/nm ! 3rd/p ! 3th/tc ! 4/nm ! 4th/pt ! 5/nm ! 5th/pt ! 6/nm ! 6th/pt ! 7/nm ! 7th/pt ! 8/nm ! 8th/pt ! 9/nm ! 9th/pt A/SM --- 1,12 ---- 48929 ! 0th ! 1st ! 2nd ! 3rd ! 4th ! 5th ! 6th ! 7th ! 8th ! 9th A/SM *************** *** 48930 **** --- 48917,48927 ---- zymurgy/M + a a/% + a an/% + a the/% + an a/% + an an/% + an the/% + and and/% + the a/% + the an/% + the the/%