diff options
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r-- | src/vim9compile.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c index 81ee41ebe..a0efafc1e 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -2761,13 +2761,7 @@ compile_def_function( cctx.ctx_has_cmdmod = FALSE; if (parse_command_modifiers(&ea, &errormsg, &local_cmdmod, FALSE) == FAIL) - { - if (errormsg != NULL) - goto erret; - // empty line or comment - line = (char_u *)""; - continue; - } + goto erret; generate_cmdmods(&cctx, &local_cmdmod); undo_cmdmod(&local_cmdmod); |