mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 9.0.0159: cannot build with small features
Problem: Cannot build with small features. Solution: Check for E1170 only with FEAT_EVAL.
This commit is contained in:
@@ -202,7 +202,11 @@ vim9_bad_comment(char_u *p)
|
||||
int
|
||||
vim9_comment_start(char_u *p)
|
||||
{
|
||||
#ifdef FEAT_EVAL
|
||||
return p[0] == '#' && !vim9_bad_comment(p);
|
||||
#else
|
||||
return p[0] == '#' && (p[1] != '{' || p[2] == '{');
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||
|
Reference in New Issue
Block a user