]>
Commit | Line | Data |
---|---|---|
e98ed9b1 ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.157 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.1.157 | |
11 | Problem: In Ex mode, :" gives an error at end-of-file. (Michael Hordijk) | |
12 | Solution: Only give an error for an empty line, not for a comment. | |
13 | Files: src/ex_docmd.c | |
14 | ||
15 | ||
16 | *** ../vim-7.1.156/src/ex_docmd.c Sun Nov 11 19:16:44 2007 | |
17 | --- src/ex_docmd.c Sat Nov 17 20:23:38 2007 | |
18 | *************** | |
19 | *** 1741,1747 **** | |
20 | } | |
21 | ||
22 | /* ignore comment and empty lines */ | |
23 | ! if (*ea.cmd == '"' || *ea.cmd == NUL) | |
24 | { | |
25 | ex_pressedreturn = TRUE; | |
26 | goto doend; | |
27 | --- 1741,1749 ---- | |
28 | } | |
29 | ||
30 | /* ignore comment and empty lines */ | |
31 | ! if (*ea.cmd == '"') | |
32 | ! goto doend; | |
33 | ! if (*ea.cmd == NUL) | |
34 | { | |
35 | ex_pressedreturn = TRUE; | |
36 | goto doend; | |
37 | *** ../vim-7.1.156/src/version.c Sun Nov 11 19:16:44 2007 | |
38 | --- src/version.c Tue Nov 20 12:28:22 2007 | |
39 | *************** | |
40 | *** 668,669 **** | |
41 | --- 668,671 ---- | |
42 | { /* Add new patch number below this line */ | |
43 | + /**/ | |
44 | + 157, | |
45 | /**/ | |
46 | ||
47 | -- | |
48 | hundred-and-one symptoms of being an internet addict: | |
49 | 119. You are reading a book and look for the scroll bar to get to | |
50 | the next page. | |
51 | ||
52 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
53 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
54 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
55 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |