Mirror of the Vim source from https://github.com/vim/vim
Révision | d9f9cdb2337e6333925428967b4d6f6e380f396a (tree) |
---|---|
l'heure | 2021-10-15 01:00:06 |
Auteur | Bram Moolenaar <Bram@vim....> |
Commiter | Bram Moolenaar |
patch 8.2.3508: Vim9: bad separators for "g" and "s" insufficiently tested
Commit: https://github.com/vim/vim/commit/051a8a375f8fb6a931fbc5ccca714a200d9b327f
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 14 16:53:42 2021 +0100
@@ -1499,6 +1499,10 @@ | ||
1499 | 1499 | g-pat-cmd |
1500 | 1500 | END |
1501 | 1501 | CheckDefAndScriptFailure(lines, 'E1241:', 1) |
1502 | + lines =<< trim END | |
1503 | + g.pat.cmd | |
1504 | + END | |
1505 | + CheckDefAndScriptFailure2(lines, 'E1001: Variable not found: g', 'E121: Undefined variable: g', 1) | |
1502 | 1506 | |
1503 | 1507 | lines =<< trim END |
1504 | 1508 | s:notexist:repl |
@@ -1509,6 +1513,10 @@ | ||
1509 | 1513 | s-pat-repl |
1510 | 1514 | END |
1511 | 1515 | CheckDefAndScriptFailure(lines, 'E1241:', 1) |
1516 | + lines =<< trim END | |
1517 | + s.pat.repl | |
1518 | + END | |
1519 | + CheckDefAndScriptFailure2(lines, 'E1001: Variable not found: s', 'E121: Undefined variable: s', 1) | |
1512 | 1520 | |
1513 | 1521 | lines =<< trim END |
1514 | 1522 | w:notexist->len() |
@@ -758,6 +758,8 @@ | ||
758 | 758 | static int included_patches[] = |
759 | 759 | { /* Add new patch number below this line */ |
760 | 760 | /**/ |
761 | + 3508, | |
762 | +/**/ | |
761 | 763 | 3507, |
762 | 764 | /**/ |
763 | 765 | 3506, |