comparison src/ex_docmd.c @ 21596:c18d00494b60 v8.2.1348

patch 8.2.1348: build failure without the eval feature Commit: https://github.com/vim/vim/commit/e4218b9416bdcd78b9779a06258198573a0c369e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 1 21:11:38 2020 +0200 patch 8.2.1348: build failure without the eval feature Problem: Build failure without the eval feature. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Aug 2020 21:15:04 +0200
parents 5daca8504c63
children 9ab43576a13b
comparison
equal deleted inserted replaced
21595:72b5304e75a5 21596:c18d00494b60
8579 } 8579 }
8580 sprintf((char *)strbuf, "%ld", 8580 sprintf((char *)strbuf, "%ld",
8581 (long)(current_sctx.sc_lnum + SOURCING_LNUM)); 8581 (long)(current_sctx.sc_lnum + SOURCING_LNUM));
8582 result = strbuf; 8582 result = strbuf;
8583 break; 8583 break;
8584 #endif
8585 8584
8586 case SPEC_SID: 8585 case SPEC_SID:
8587 if (current_sctx.sc_sid <= 0) 8586 if (current_sctx.sc_sid <= 0)
8588 { 8587 {
8589 *errormsg = _(e_usingsid); 8588 *errormsg = _(e_usingsid);
8590 return NULL; 8589 return NULL;
8591 } 8590 }
8592 sprintf((char *)strbuf, "<SNR>%d_", current_sctx.sc_sid); 8591 sprintf((char *)strbuf, "<SNR>%d_", current_sctx.sc_sid);
8593 result = strbuf; 8592 result = strbuf;
8594 break; 8593 break;
8594 #endif
8595 8595
8596 #ifdef FEAT_CLIENTSERVER 8596 #ifdef FEAT_CLIENTSERVER
8597 case SPEC_CLIENT: // Source of last submitted input 8597 case SPEC_CLIENT: // Source of last submitted input
8598 sprintf((char *)strbuf, PRINTF_HEX_LONG_U, 8598 sprintf((char *)strbuf, PRINTF_HEX_LONG_U,
8599 (long_u)clientWindow); 8599 (long_u)clientWindow);