0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.0.0514: script for creating cmdidxs can be improved

Problem:    Script for creating cmdidxs can be improved.
Solution:   Count skipped lines instead of collecting the lines.  Add "const".
            (Dominique Pelle, closes #1594)
This commit is contained in:
Bram Moolenaar
2017-03-26 21:46:28 +02:00
parent c96272e30e
commit 980128c369
3 changed files with 9 additions and 6 deletions

View File

@@ -566,7 +566,7 @@ static const unsigned char cmdidxs2[26][26] =
/* z */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }
};
static int command_count = 539;
static const int command_count = 539;
/* End of automatically generated code by create_cmdidxs.pl */