# HG changeset patch # User Bram Moolenaar # Date 1650204903 -7200 # Node ID a35d54d01adef84e490b493259d9270fe63c1d4c # Parent 581ec553914d11d74e74b00100147d2c62b7c06f patch 8.2.4774: crash when using a number for lambda name Commit: https://github.com/vim/vim/commit/8b91e71441069b1dde9ac9ff9d9a829b1b4aecca Author: Bram Moolenaar Date: Sun Apr 17 15:06:35 2022 +0100 patch 8.2.4774: crash when using a number for lambda name Problem: Crash when using a number for lambda name. Solution: Check the type of the lambda reference. diff --git a/src/errors.h b/src/errors.h --- a/src/errors.h +++ b/src/errors.h @@ -3259,3 +3259,7 @@ EXTERN char e_nfa_regexp_missing_value_i INIT(= N_("E1273: (NFA regexp) missing value in '\\%%%c'")); EXTERN char e_no_script_file_name_to_substitute_for_script[] INIT(= N_("E1274: No script file name to substitute for \"