diff src/ex_cmdidxs.h @ 20528:489cb75c76b6 v8.2.0818

patch 8.2.0818: Vim9: using a discovery phase doesn't work well Commit: https://github.com/vim/vim/commit/822ba24743af9ee1b5e7f656a7a61a38f3638bca Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 24 23:00:18 2020 +0200 patch 8.2.0818: Vim9: using a discovery phase doesn't work well Problem: Vim9: using a discovery phase doesn't work well. Solution: Remove the discovery phase, instead compile a function only when it is used. Add :defcompile to compile def functions earlier.
author Bram Moolenaar <Bram@vim.org>
date Sun, 24 May 2020 23:15:04 +0200
parents 94eda51ba9ba
children a9fb7efa31d6
line wrap: on
line diff
--- a/src/ex_cmdidxs.h
+++ b/src/ex_cmdidxs.h
@@ -9,28 +9,28 @@ static const unsigned short cmdidxs1[26]
   /* b */ 19,
   /* c */ 42,
   /* d */ 108,
-  /* e */ 132,
-  /* f */ 155,
-  /* g */ 171,
-  /* h */ 177,
-  /* i */ 186,
-  /* j */ 205,
-  /* k */ 207,
-  /* l */ 212,
-  /* m */ 274,
-  /* n */ 292,
-  /* o */ 312,
-  /* p */ 324,
-  /* q */ 363,
-  /* r */ 366,
-  /* s */ 386,
-  /* t */ 455,
-  /* u */ 500,
-  /* v */ 511,
-  /* w */ 530,
-  /* x */ 544,
-  /* y */ 554,
-  /* z */ 555
+  /* e */ 133,
+  /* f */ 156,
+  /* g */ 172,
+  /* h */ 178,
+  /* i */ 187,
+  /* j */ 206,
+  /* k */ 208,
+  /* l */ 213,
+  /* m */ 275,
+  /* n */ 293,
+  /* o */ 313,
+  /* p */ 325,
+  /* q */ 364,
+  /* r */ 367,
+  /* s */ 387,
+  /* t */ 456,
+  /* u */ 501,
+  /* v */ 512,
+  /* w */ 531,
+  /* x */ 545,
+  /* y */ 555,
+  /* z */ 556
 };
 
 /*
@@ -44,7 +44,7 @@ static const unsigned char cmdidxs2[26][
   /* 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, 56, 58, 59, 60,  0, 62,  0, 65,  0,  0,  0 },
-  /* d */ {  0,  0,  0,  0,  0,  0,  0,  0,  7, 17,  0, 18,  0,  0, 19,  0,  0, 21, 22,  0,  0,  0,  0,  0,  0,  0 },
+  /* d */ {  0,  0,  0,  0,  0,  0,  0,  0,  8, 18,  0, 19,  0,  0, 20,  0,  0, 22, 23,  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, 17,  0, 18,  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 },
   /* g */ {  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1,  0,  0,  2,  0,  0,  4,  5,  0,  0,  0,  0 },
@@ -69,4 +69,4 @@ static const unsigned char cmdidxs2[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 = 568;
+static const int command_count = 569;