diff src/structs.h @ 28449:80ed5ad30d28 v8.2.4749

patch 8.2.4749: <script> is not expanded in autocmd context Commit: https://github.com/vim/vim/commit/eca7c60d68e63001dbe3c8e5d240b0895e607fc3 Author: LemonBoy <thatlemon@gmail.com> Date: Thu Apr 14 15:39:43 2022 +0100 patch 8.2.4749: <script> is not expanded in autocmd context Problem: <script> is not expanded in autocmd context. Solution: Add the context to the pattern struct. (closes https://github.com/vim/vim/issues/10144) Rename AutoPatCmd to AutoPatCmd_T.
author Bram Moolenaar <Bram@vim.org>
date Thu, 14 Apr 2022 16:45:02 +0200
parents 367439b95aba
children 9ff0e5a29037
line wrap: on
line diff
--- a/src/structs.h
+++ b/src/structs.h
@@ -2073,7 +2073,7 @@ struct partial_S
     dict_T	*pt_dict;	// dict for "self"
 };
 
-typedef struct AutoPatCmd_S AutoPatCmd;
+typedef struct AutoPatCmd_S AutoPatCmd_T;
 
 /*
  * Entry in the execution stack "exestack".
@@ -2100,7 +2100,7 @@ typedef struct {
 #if defined(FEAT_EVAL)
 	ufunc_T *ufunc;     // function info
 #endif
-	AutoPatCmd *aucmd;  // autocommand info
+	AutoPatCmd_T *aucmd;  // autocommand info
 	except_T   *except; // exception info
     } es_info;
 #if defined(FEAT_EVAL)