]> granicus.if.org Git - vim/commitdiff
patch 8.2.0319: file missing in distribution, comments outdated v8.2.0319
authorBram Moolenaar <Bram@vim.org>
Wed, 26 Feb 2020 12:43:51 +0000 (13:43 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 26 Feb 2020 12:43:51 +0000 (13:43 +0100)
Problem:    File missing in distribution, comments outdated.
Solution:   Correct path of README file.  Update comments.

Filelist
src/evalvars.c
src/if_python3.c
src/register.c
src/version.c

index 41eb53f5a33256afd66057a58590663fa5a4ff18..f5328a5d530eb57a7b7160482c04e63e8c9a3775 100644 (file)
--- a/Filelist
+++ b/Filelist
@@ -14,7 +14,6 @@ SRC_ALL =     \
                ci/if_ver*.vim \
                src/Make_all.mak \
                src/README.md \
-               src/README_VIM9.md \
                src/alloc.h \
                src/arabic.c \
                src/arglist.c \
@@ -661,6 +660,7 @@ SRC_EXTRA = \
 RT_ALL =       \
                README.txt \
                README.md \
+               README_VIM9.md \
                LICENSE \
                CONTRIBUTING.md \
                runtime/bugreport.vim \
index 25d23c8606973304c48e3a3e65f267052b81f9ad..894ee287daaa00909bacd036b90ac09af81a2700 100644 (file)
@@ -669,6 +669,7 @@ heredoc_get(exarg_T *eap, char_u *cmd)
  * ":let var ..= expr"         assignment command.
  * ":let [var1, var2] = expr"  unpack list.
  * ":let var =<< ..."          heredoc
+ * ":let var: string"          Vim9 declaration
  */
     void
 ex_let(exarg_T *eap)
index 8c22514b741cf7d3108811c1ca0dfadded5485f7..6e4b81acd0e4a8e7b77869efc0e1f8d9103046c4 100644 (file)
@@ -1641,7 +1641,7 @@ LineToString(const char *str)
 {
     PyObject *result;
     Py_ssize_t len = strlen(str);
-    char *tmp,*p;
+    char *tmp, *p;
 
     tmp = alloc(len + 1);
     p = tmp;
index 69600024641277f9daf737910cdc3b582002a7d0..943298e9736b2c4146d5ea8d10c906a62cab5f87 100644 (file)
@@ -2617,14 +2617,14 @@ getreg_wrap_one_line(char_u *s, int flags)
 }
 
 /*
- * Return the contents of a register as a single allocated string.
+ * Return the contents of a register as a single allocated string or as a list.
  * Used for "@r" in expressions and for getreg().
  * Returns NULL for error.
  * Flags:
  *     GREG_NO_EXPR    Do not allow expression register
  *     GREG_EXPR_SRC   For the expression register: return expression itself,
  *                     not the result of its evaluation.
- *     GREG_LIST       Return a list of lines in place of a single string.
+ *     GREG_LIST       Return a list of lines instead of a single string.
  */
     char_u *
 get_reg_contents(int regname, int flags)
index c5dccf4d4e6e80ecceb742664f09a1ad0faa08a1..e3ff8e15c26359d7dee3aeb39a2c295a3dbacb3b 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    319,
 /**/
     318,
 /**/