diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-15 15:45:06 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-15 15:45:06 +0200 |
commit | 9937a055437ef67b57a1bdec8f0799b669c9dbf0 (patch) | |
tree | 64fee6ad078086b7714995b03cb7891641d13533 /src/ex_cmdidxs.h | |
parent | dfa97f2aed3d8ca195d09e2ce91cef227f933961 (diff) | |
download | vim-git-9937a055437ef67b57a1bdec8f0799b669c9dbf0.tar.gz |
patch 8.1.1539: not easy to define a variable and lock itv8.1.1539
Problem: Not easy to define a variable and lock it.
Solution: Add ":const".
Diffstat (limited to 'src/ex_cmdidxs.h')
-rw-r--r-- | src/ex_cmdidxs.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/ex_cmdidxs.h b/src/ex_cmdidxs.h index 0103a1741..fdb2cdfe7 100644 --- a/src/ex_cmdidxs.h +++ b/src/ex_cmdidxs.h @@ -8,29 +8,29 @@ static const unsigned short cmdidxs1[26] = /* a */ 0, /* b */ 19, /* c */ 42, - /* d */ 107, - /* e */ 129, - /* f */ 149, - /* g */ 165, - /* h */ 171, - /* i */ 180, - /* j */ 198, - /* k */ 200, - /* l */ 205, - /* m */ 267, - /* n */ 285, - /* o */ 305, - /* p */ 317, - /* q */ 356, - /* r */ 359, - /* s */ 379, - /* t */ 447, - /* u */ 492, - /* v */ 503, - /* w */ 521, - /* x */ 535, - /* y */ 545, - /* z */ 546 + /* d */ 108, + /* e */ 130, + /* f */ 150, + /* g */ 166, + /* h */ 172, + /* i */ 181, + /* j */ 199, + /* k */ 201, + /* l */ 206, + /* m */ 268, + /* n */ 286, + /* o */ 306, + /* p */ 318, + /* q */ 357, + /* r */ 360, + /* s */ 380, + /* t */ 448, + /* u */ 493, + /* v */ 504, + /* w */ 522, + /* x */ 536, + /* y */ 546, + /* z */ 547 }; /* @@ -43,7 +43,7 @@ static const unsigned char cmdidxs2[26][26] = { /* a b c d e f g h i j k l m n o p q r s t u v w x y z */ /* a */ { 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 5, 6, 0, 0, 0, 7, 15, 0, 16, 0, 0, 0, 0, 0 }, /* b */ { 2, 0, 0, 4, 5, 7, 0, 0, 0, 0, 0, 8, 9, 10, 11, 12, 0, 13, 0, 0, 0, 0, 22, 0, 0, 0 }, - /* c */ { 3, 12, 16, 18, 20, 22, 25, 0, 0, 0, 0, 33, 37, 40, 46, 55, 57, 58, 59, 0, 61, 0, 64, 0, 0, 0 }, + /* c */ { 3, 12, 16, 18, 20, 22, 25, 0, 0, 0, 0, 33, 37, 40, 46, 56, 58, 59, 60, 0, 62, 0, 65, 0, 0, 0 }, /* d */ { 0, 0, 0, 0, 0, 0, 0, 0, 6, 15, 0, 16, 0, 0, 17, 0, 0, 19, 20, 0, 0, 0, 0, 0, 0, 0 }, /* e */ { 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 7, 9, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0 }, /* f */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0 }, @@ -69,4 +69,4 @@ 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 const int command_count = 559; +static const int command_count = 560; |