4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Invalid items appear in the help file tags. (Antonio Colombo)
12 Solution: Only accept tags with white space before the first "*".
13 Files: runtime/doc/doctags.c, src/ex_cmds.c
16 *** ../vim-6.2.091/runtime/doc/doctags.c Sun Aug 1 14:01:25 1999
17 --- runtime/doc/doctags.c Fri Sep 5 21:31:23 2003
22 * Only accept a *tag* when it consists of valid
23 ! * characters and is followed by a white character or
26 ! if (p == p2 && (p1 == line || p1[-1] != '-') &&
27 ! (strchr(" \t\n\r", p[1]) != NULL || p[1] == '\0'))
34 * Only accept a *tag* when it consists of valid
35 ! * characters, there is white space before it and is
36 ! * followed by a white character or end-of-line.
39 ! && (p1 == line || p1[-1] == ' ' || p1[-1] == '\t')
40 ! && (strchr(" \t\n\r", p[1]) != NULL
45 *** ../vim-6.2.091/src/ex_cmds.c Thu Sep 11 21:36:02 2003
46 --- src/ex_cmds.c Tue Sep 9 22:03:12 2003
51 * Only accept a *tag* when it consists of valid
52 ! * characters, there is no '-' before it and is followed
53 ! * by a white character or end-of-line.
56 ! && (p1 == IObuff || p1[-1] != '-')
57 && (vim_strchr((char_u *)" \t\n\r", s[1]) != NULL
63 * Only accept a *tag* when it consists of valid
64 ! * characters, there is white space before it and is
65 ! * followed by a white character or end-of-line.
68 ! && (p1 == IObuff || p1[-1] == ' ' || p1[-1] == '\t')
69 && (vim_strchr((char_u *)" \t\n\r", s[1]) != NULL
72 *** ../vim-6.2.091/src/version.c Fri Sep 12 19:56:26 2003
73 --- src/version.c Fri Sep 12 19:59:43 2003
77 { /* Add new patch number below this line */
84 [The mighty ARMY charges. Thundering noise of feet. Clatter of coconuts.
85 Shouts etc. Suddenly there is a wail of a siren and a couple of police
86 cars roar round in front of the charging ARMY and the POLICE leap out and
87 stop them. TWO POLICEMAN and the HISTORIAN'S WIFE. Black Marias skid up
89 HISTORIAN'S WIFE: They're the ones, I'm sure.
90 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
92 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
93 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
94 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
95 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///