4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Internal error when using "0 ? {'a': 1} : {}". (A.Politz)
12 Solution: When parsing a dictionary value without using the value, don't try
13 obtaining the key name.
17 *** ../vim-7.1.104/src/eval.c Thu Sep 6 14:25:50 2007
18 --- src/eval.c Thu Sep 13 20:29:31 2007
24 ! key = get_tv_string_buf_chk(&tvkey, buf);
25 ! if (key == NULL || *key == NUL)
27 ! /* "key" is NULL when get_tv_string_buf_chk() gave an errmsg */
29 ! EMSG(_(e_emptykey));
34 *arg = skipwhite(*arg + 1);
35 if (eval1(arg, &tv, evaluate) == FAIL) /* recursive! */
47 ! key = get_tv_string_buf_chk(&tvkey, buf);
48 ! if (key == NULL || *key == NUL)
50 ! /* "key" is NULL when get_tv_string_buf_chk() gave an errmsg */
52 ! EMSG(_(e_emptykey));
58 *arg = skipwhite(*arg + 1);
59 if (eval1(arg, &tv, evaluate) == FAIL) /* recursive! */
66 *** ../vim-7.1.104/src/version.c Thu Sep 13 18:25:08 2007
67 --- src/version.c Thu Sep 13 20:36:38 2007
71 { /* Add new patch number below this line */
77 DENNIS: Listen -- strange women lying in ponds distributing swords is no
78 basis for a system of government. Supreme executive power derives
79 from a mandate from the masses, not from some farcical aquatic
81 The Quest for the Holy Grail (Monty Python)
83 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
84 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
85 \\\ download, build and distribute -- http://www.A-A-P.org ///
86 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///