-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Affix class cleanup #1329
Affix class cleanup #1329
Conversation
Please don't apply yet. I just found an old bug in the handling of LPUNC. |
OK. |
More in issue #1330. |
I added fixes according to issue #1330. ---> The strippable affixes for |
8d3c186
to
89d292d
Compare
It turned out it is already included in this PR:
|
Sorry again, please don't apply yet! |
This check cannot be done in affix_list_add() because it doesn't have access to the dict handle (no point to make an intensive code restructure for that).
Also update to "#define version/locale" and <UNKNOWN-WORD> in 4.0.dict.m4 (they are now only in 4.0.dict).
Only comma is defined in the dict, so leave only it. This is just a minimum fix to prevent error due to strippable affixes that are not found in the dict.
This was a bug in I fixed it and made extensive checks so now finally it may be applied! |
Now the affix file may have subscripted affixes again. They are slightly more efficient because their dict lookup is done with their subscript (I guess the possible speedup is small because the pruning will most probably remove the extra disjuncts that may be fetched by an unsubscripted affix). |
OK, thanks |
My new "amy" modifications are based on 2 other PRs, and it may be a good idea not to combine them all into a big PR.
This is the first one.
After it is applied, I will make sure there are no conflicts and send the second one.