patch 8.2.0626: Vim9: wrong syntax of function in Vim9 script
Problem: Vim9: wrong syntax of function in Vim9 script.
Solution: Give error for missing space. Implement :echomsg and :echoerr.
(closes #5670)
diff --git a/src/globals.h b/src/globals.h
index f6c9d60..725493b 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1750,6 +1750,10 @@
EXTERN char e_continue[] INIT(= N_("E586: :continue without :while or :for"));
EXTERN char e_break[] INIT(= N_("E587: :break without :while or :for"));
EXTERN char e_nowhitespace[] INIT(= N_("E274: No white space allowed before parenthesis"));
+EXTERN char e_white_both[] INIT(= N_("E1004: white space required before and after '%s'"));
+EXTERN char e_white_after[] INIT(= N_("E1069: white space required after '%s'"));
+EXTERN char e_no_white_before[] INIT(= N_("E1068: No white space allowed before '%s'"));
+
EXTERN char e_lock_unlock[] INIT(= N_("E940: Cannot lock or unlock variable %s"));
#endif
@@ -1819,6 +1823,8 @@
#ifdef FEAT_EVAL
EXTERN time_T time_for_testing INIT(= 0);
+EXTERN int echo_attr INIT(= 0); // attributes used for ":echo"
+
// Abort conversion to string after a recursion error.
EXTERN int did_echo_string_emsg INIT(= FALSE);