comparison src/vim9compile.c @ 20005:49d692e015cc v8.2.0558

patch 8.2.0558: Vim9: dict code not covered by tests Commit: https://github.com/vim/vim/commit/82de464f763d6e6d89229be03ce7c6d02fd5fb59 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 12 18:02:06 2020 +0200 patch 8.2.0558: Vim9: dict code not covered by tests Problem: Vim9: dict code not covered by tests. Solution: Remove dead code, adjust test case.
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Apr 2020 18:15:03 +0200
parents 502a6c9b3974
children aadd1cae2ff5
comparison
equal deleted inserted replaced
20004:73f17fbdc187 20005:49d692e015cc
2786 goto failret; 2786 goto failret;
2787 } 2787 }
2788 *arg = skipwhite(*arg + 1); 2788 *arg = skipwhite(*arg + 1);
2789 } 2789 }
2790 2790
2791 if (**arg != '}')
2792 {
2793 semsg(_(e_missing_dict_end), *arg);
2794 goto failret;
2795 }
2796 *arg = *arg + 1; 2791 *arg = *arg + 1;
2797 2792
2798 // Allow for following comment, after at least one space. 2793 // Allow for following comment, after at least one space.
2799 if (VIM_ISWHITE(**arg) && *skipwhite(*arg) == '"') 2794 if (VIM_ISWHITE(**arg) && *skipwhite(*arg) == '"')
2800 *arg += STRLEN(*arg); 2795 *arg += STRLEN(*arg);