0
0
mirror of https://github.com/vim/vim.git synced 2025-10-07 05:54:16 -04:00

patch 8.2.2620: Vim9: Using #{ for a dictionary gives strange errors

Problem:    Vim9: Using #{ for a dictionary gives strange errors.
Solution:   Give an error when using #{ for a comment after a command.
This commit is contained in:
Bram Moolenaar
2021-03-18 21:37:55 +01:00
parent 5f91e74bf9
commit 4b3e1964d8
7 changed files with 43 additions and 10 deletions

View File

@@ -375,3 +375,5 @@ EXTERN char e_argument_already_declared_in_script_str[]
INIT(= N_("E1168: Argument already declared in the script: %s"));
EXTERN char e_import_as_name_not_supported_here[]
INIT(= N_("E1169: 'import * as {name}' not supported here"));
EXTERN char e_cannot_use_hash_curly_to_start_comment[]
INIT(= N_("E1170: 'Cannot use #{ to start a comment"));