comparison src/vim9execute.c @ 24594:5c456a88f651 v8.2.2836

patch 8.2.2836: build failure without the +quickfix feature Commit: https://github.com/vim/vim/commit/b7c978154e0816f4dcfae8a06b4ba1bfb7f796f6 Author: Bram Moolenaar <Bram@vim.org> Date: Wed May 5 22:51:39 2021 +0200 patch 8.2.2836: build failure without the +quickfix feature Problem: Build failure without the +quickfix feature. (John Marriott) Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 May 2021 23:00:03 +0200
parents 2818f846f099
children a4fda40e0bb9
comparison
equal deleted inserted replaced
24593:3786de85c165 24594:5c456a88f651
1441 ++ectx->ec_stack.ga_len; 1441 ++ectx->ec_stack.ga_len;
1442 } 1442 }
1443 break; 1443 break;
1444 1444
1445 case ISN_CEXPR_AUCMD: 1445 case ISN_CEXPR_AUCMD:
1446 #ifdef FEAT_QUICKFIX
1446 if (trigger_cexpr_autocmd(iptr->isn_arg.number) == FAIL) 1447 if (trigger_cexpr_autocmd(iptr->isn_arg.number) == FAIL)
1447 goto on_error; 1448 goto on_error;
1449 #endif
1448 break; 1450 break;
1449 1451
1450 case ISN_CEXPR_CORE: 1452 case ISN_CEXPR_CORE:
1453 #ifdef FEAT_QUICKFIX
1451 { 1454 {
1452 exarg_T ea; 1455 exarg_T ea;
1453 int res; 1456 int res;
1454 1457
1455 CLEAR_FIELD(ea); 1458 CLEAR_FIELD(ea);
1461 res = cexpr_core(&ea, tv); 1464 res = cexpr_core(&ea, tv);
1462 clear_tv(tv); 1465 clear_tv(tv);
1463 if (res == FAIL) 1466 if (res == FAIL)
1464 goto on_error; 1467 goto on_error;
1465 } 1468 }
1469 #endif
1466 break; 1470 break;
1467 1471
1468 // execute Ex command from pieces on the stack 1472 // execute Ex command from pieces on the stack
1469 case ISN_EXECCONCAT: 1473 case ISN_EXECCONCAT:
1470 { 1474 {
4413 case ISN_REDIREND: 4417 case ISN_REDIREND:
4414 smsg("%s%4d REDIR END%s", pfx, current, 4418 smsg("%s%4d REDIR END%s", pfx, current,
4415 iptr->isn_arg.number ? " append" : ""); 4419 iptr->isn_arg.number ? " append" : "");
4416 break; 4420 break;
4417 case ISN_CEXPR_AUCMD: 4421 case ISN_CEXPR_AUCMD:
4422 #ifdef FEAT_QUICKFIX
4418 smsg("%s%4d CEXPR pre %s", pfx, current, 4423 smsg("%s%4d CEXPR pre %s", pfx, current,
4419 cexpr_get_auname(iptr->isn_arg.number)); 4424 cexpr_get_auname(iptr->isn_arg.number));
4425 #endif
4420 break; 4426 break;
4421 case ISN_CEXPR_CORE: 4427 case ISN_CEXPR_CORE:
4428 #ifdef FEAT_QUICKFIX
4422 { 4429 {
4423 cexprref_T *cer = iptr->isn_arg.cexpr.cexpr_ref; 4430 cexprref_T *cer = iptr->isn_arg.cexpr.cexpr_ref;
4424 4431
4425 smsg("%s%4d CEXPR core %s%s \"%s\"", pfx, current, 4432 smsg("%s%4d CEXPR core %s%s \"%s\"", pfx, current,
4426 cexpr_get_auname(cer->cer_cmdidx), 4433 cexpr_get_auname(cer->cer_cmdidx),
4427 cer->cer_forceit ? "!" : "", 4434 cer->cer_forceit ? "!" : "",
4428 cer->cer_cmdline); 4435 cer->cer_cmdline);
4429 } 4436 }
4437 #endif
4430 break; 4438 break;
4431 case ISN_SUBSTITUTE: 4439 case ISN_SUBSTITUTE:
4432 { 4440 {
4433 subs_T *subs = &iptr->isn_arg.subs; 4441 subs_T *subs = &iptr->isn_arg.subs;
4434 4442