From 30a844771554d28f1a88a256e6088dbb252228c1 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 27 Feb 2023 08:07:14 +0000 Subject: patch 9.0.1358: compilation error with some compilers Problem: Compilation error with some compilers. Solution: Avoid using "class" as member name. --- src/vim9.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vim9.h') diff --git a/src/vim9.h b/src/vim9.h index d9b25dae5..48751ce43 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -102,7 +102,7 @@ typedef enum { ISN_PUSHCHANNEL, // push NULL channel ISN_PUSHJOB, // push NULL job ISN_PUSHOBJ, // push NULL object - ISN_PUSHCLASS, // push class, uses isn_arg.class + ISN_PUSHCLASS, // push class, uses isn_arg.classarg ISN_NEWLIST, // push list from stack items, size is isn_arg.number // -1 for null_list ISN_NEWDICT, // push dict from stack items, size is isn_arg.number @@ -520,7 +520,7 @@ struct isn_S { channel_T *channel; job_T *job; partial_T *partial; - class_T *class; + class_T *classarg; jump_T jump; jumparg_T jumparg; forloop_T forloop; -- cgit v1.2.1