Problem: Vim9: Cannot use a comment starting with #{ after an expression.
Solution: Remove the check for "{" since #{ dictionaries are not supported.
return TRUE;
#ifdef FEAT_EVAL
if (in_vim9script())
- return c == '#' && cmd[1] != '{'
- && (cmd == cmd_start || VIM_ISWHITE(cmd[-1]));
+ return c == '#' && (cmd == cmd_start || VIM_ISWHITE(cmd[-1]));
#endif
return c == '"';
}
result ..= cnt .. '_'
endwhile
assert_equal('1_3_', result)
+
+ var s = ''
+ while s == 'x' #{comment
+ endwhile
enddef
def Test_while_loop_fails()
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2484,
/**/
2483,
/**/