forked from aniani/vim
patch 8.1.2096: too many #ifdefs
Problem: Too many #ifdefs. Solution: Graduate FEAT_COMMENTS.
This commit is contained in:
@@ -5393,7 +5393,6 @@ search_line:
|
||||
*/
|
||||
if (!define_matched && skip_comments)
|
||||
{
|
||||
#ifdef FEAT_COMMENTS
|
||||
if ((*line != '#' ||
|
||||
STRNCMP(skipwhite(line + 1), "define", 6) != 0)
|
||||
&& get_leader_len(line, NULL, FALSE, TRUE))
|
||||
@@ -5408,7 +5407,6 @@ search_line:
|
||||
p = skipwhite(line);
|
||||
if (matched
|
||||
|| (p[0] == '/' && p[1] == '*') || p[0] == '*')
|
||||
#endif
|
||||
for (p = line; *p && p < startp; ++p)
|
||||
{
|
||||
if (matched
|
||||
|
||||
Reference in New Issue
Block a user