mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.0.1358: compilation error with some compilers
Problem: Compilation error with some compilers. Solution: Avoid using "class" as member name.
This commit is contained in:
@@ -678,7 +678,7 @@ generate_PUSHCLASS(cctx_T *cctx, class_T *class)
|
||||
class == NULL ? &t_any : &class->class_type);
|
||||
if (isn == NULL)
|
||||
return FAIL;
|
||||
isn->isn_arg.class = class;
|
||||
isn->isn_arg.classarg = class;
|
||||
if (class != NULL)
|
||||
++class->class_refcount;
|
||||
return OK;
|
||||
@@ -2509,7 +2509,7 @@ delete_instr(isn_T *isn)
|
||||
break;
|
||||
|
||||
case ISN_PUSHCLASS:
|
||||
class_unref(isn->isn_arg.class);
|
||||
class_unref(isn->isn_arg.classarg);
|
||||
break;
|
||||
|
||||
case ISN_UCALL:
|
||||
|
Reference in New Issue
Block a user