Mercurial > vim
comparison src/ex_docmd.c @ 20027:23a4aef4f923 v8.2.0569
patch 8.2.0569: build failure with tiny version
Commit: https://github.com/vim/vim/commit/fbda69b309ca1c9748eaac38ab85b9e3425bf834
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 13 15:06:53 2020 +0200
patch 8.2.0569: build failure with tiny version
Problem: Build failure with tiny version.
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 13 Apr 2020 15:15:04 +0200 |
parents | c85d4e173cc9 |
children | de756b3f4dee |
comparison
equal
deleted
inserted
replaced
20026:0017b6fea4b0 | 20027:23a4aef4f923 |
---|---|
4762 } | 4762 } |
4763 | 4763 |
4764 int | 4764 int |
4765 ends_excmd(int c) | 4765 ends_excmd(int c) |
4766 { | 4766 { |
4767 #ifdef FEAT_EVAL | |
4767 if (c == '#') | 4768 if (c == '#') |
4768 // TODO: should check for preceding white space | 4769 // TODO: should check for preceding white space |
4769 return in_vim9script(); | 4770 return in_vim9script(); |
4771 #endif | |
4770 return (c == NUL || c == '|' || c == '"' || c == '\n'); | 4772 return (c == NUL || c == '|' || c == '"' || c == '\n'); |
4771 } | 4773 } |
4772 | 4774 |
4773 #if defined(FEAT_SYN_HL) || defined(FEAT_SEARCH_EXTRA) || defined(FEAT_EVAL) \ | 4775 #if defined(FEAT_SYN_HL) || defined(FEAT_SEARCH_EXTRA) || defined(FEAT_EVAL) \ |
4774 || defined(PROTO) | 4776 || defined(PROTO) |