annotate runtime/spell/main.aap @ 31527:aa2ec7a12146 v9.0.1096

patch 9.0.1096: reallocating hashtab when the size didn't change Commit: https://github.com/vim/vim/commit/71d53e7c579b8af44083142ea3894b455947ad81 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 25 20:46:13 2022 +0000 patch 9.0.1096: reallocating hashtab when the size didn't change Problem: Reallocating hashtab when the size didn't change. Solution: Bail out when the hashtab is already the desired size.
author Bram Moolenaar <Bram@vim.org>
date Sun, 25 Dec 2022 22:00:04 +0100
parents d314efe6447a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
1 # Toplevel Aap recipe for Vim spell files
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
2 #
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
3 # Usage:
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
4 # aap generate all the .spl files
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
5 # aap diff create all the diff files
456
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
6
648
9032e4668296 updated for version 7.0189
vimboss
parents: 502
diff changeset
7 # "hu" is at the end, because it takes a very long time.
20753
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
8 # "eu" takes even longer (4 hours on my system).
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 648
diff changeset
9 LANG = af am bg br ca cs cy da de el en eo es fr fo ga gd gl he hr id it
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 648
diff changeset
10 ku la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk sl sv sw
20753
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
11 tet th tl tn tr uk yi zu hu eu
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
12
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
13 # TODO:
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
14 # Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation...
456
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
15
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
16 diff: $*LANG/diff
483
70afa17bfc01 updated for version 7.0132
vimboss
parents: 482
diff changeset
17 :print Done.
456
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
18
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
19 @for l in string.split(_no.LANG):
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
20 :child $l/main.aap
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
21
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
22 # The existing .spl files need to be generated when the spell file format
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
23 # changes. Depending on the Vim executable does that, but results in doing it
483
70afa17bfc01 updated for version 7.0132
vimboss
parents: 482
diff changeset
24 # much too often. Generate a dummy .spl file and let the .spl depend on it, so
70afa17bfc01 updated for version 7.0132
vimboss
parents: 482
diff changeset
25 # that they are outdated when it changes.
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
26 :child check/main.aap
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
27 *.spl: check/check.latin1.spl