]>
Commit | Line | Data |
---|---|---|
9b1d76b7 AG |
1 | To: vim-dev@vim.org |
2 | Subject: patch 7.0.204 | |
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.0.204 | |
11 | Problem: Cscope: Parsing matches for listing isn't done properly. | |
12 | Solution: Check for line number being found. (Yu Zhao) | |
13 | Files: src/if_cscope.c | |
14 | ||
15 | ||
16 | *** ../vim-7.0.203/src/if_cscope.c Tue Jan 16 15:17:43 2007 | |
17 | --- src/if_cscope.c Tue Feb 27 17:56:49 2007 | |
18 | *************** | |
19 | *** 1932,1945 **** | |
20 | if ((fname = strtok(NULL, (const char *)"\t")) == NULL) | |
21 | continue; | |
22 | if ((lno = strtok(NULL, (const char *)"\t")) == NULL) | |
23 | ! { | |
24 | ! /* if NULL, then no "extra", although in cscope's case, there | |
25 | ! * should always be "extra". | |
26 | ! */ | |
27 | ! extra = NULL; | |
28 | ! } | |
29 | ! | |
30 | ! extra = lno + strlen(lno) + 1; | |
31 | ||
32 | lno[strlen(lno)-2] = '\0'; /* ignore ;" at the end */ | |
33 | ||
34 | --- 1932,1939 ---- | |
35 | if ((fname = strtok(NULL, (const char *)"\t")) == NULL) | |
36 | continue; | |
37 | if ((lno = strtok(NULL, (const char *)"\t")) == NULL) | |
38 | ! continue; | |
39 | ! extra = strtok(NULL, (const char *)"\t"); | |
40 | ||
41 | lno[strlen(lno)-2] = '\0'; /* ignore ;" at the end */ | |
42 | ||
43 | *** ../vim-7.0.203/src/version.c Tue Feb 27 17:25:28 2007 | |
44 | --- src/version.c Tue Feb 27 18:03:48 2007 | |
45 | *************** | |
46 | *** 668,669 **** | |
47 | --- 668,671 ---- | |
48 | { /* Add new patch number below this line */ | |
49 | + /**/ | |
50 | + 204, | |
51 | /**/ | |
52 | ||
53 | -- | |
54 | I noticed my daughter's Disney-net password on a sticky note: | |
55 | "MickeyMinnieGoofyPluto". I asked her why it was so long. | |
56 | "Because they say it has to have at least four characters." | |
57 | ||
58 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
59 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
60 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
61 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |