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:
@@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user