Mercurial > vim
comparison src/vim9instr.c @ 26672:3516017e5f54 v8.2.3865
patch 8.2.3865: Vim9: compiler complains about using "try" as a struct member
Commit: https://github.com/vim/vim/commit/0d807107b66e0d30d4f338c272962af5714c400e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 21 09:42:09 2021 +0000
patch 8.2.3865: Vim9: compiler complains about using "try" as a struct member
Problem: Vim9: compiler complains about using "try" as a struct member.
Solution: Rename "try" to "tryref".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 21 Dec 2021 10:45:04 +0100 |
parents | 4b23672d1f0e |
children | 38a270fdd3f6 |
comparison
equal
deleted
inserted
replaced
26671:914e38eb405c | 26672:3516017e5f54 |
---|---|
2086 case ISN_STORESCRIPT: | 2086 case ISN_STORESCRIPT: |
2087 vim_free(isn->isn_arg.script.scriptref); | 2087 vim_free(isn->isn_arg.script.scriptref); |
2088 break; | 2088 break; |
2089 | 2089 |
2090 case ISN_TRY: | 2090 case ISN_TRY: |
2091 vim_free(isn->isn_arg.try.try_ref); | 2091 vim_free(isn->isn_arg.tryref.try_ref); |
2092 break; | 2092 break; |
2093 | 2093 |
2094 case ISN_CEXPR_CORE: | 2094 case ISN_CEXPR_CORE: |
2095 vim_free(isn->isn_arg.cexpr.cexpr_ref->cer_cmdline); | 2095 vim_free(isn->isn_arg.cexpr.cexpr_ref->cer_cmdline); |
2096 vim_free(isn->isn_arg.cexpr.cexpr_ref); | 2096 vim_free(isn->isn_arg.cexpr.cexpr_ref); |