summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-12 21:58:43 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-12 21:58:43 +0000
commitc4956c8d1d64d9236e0dd041dec9cf5d08e9df2c (patch)
treec7b205a7711a71039677e3e6a25ba418d810a64e /src
parent2b48ad5cd705167ed9c467f01dceeaf7ff432675 (diff)
downloadvim-git-c4956c8d1d64d9236e0dd041dec9cf5d08e9df2c.tar.gz
updated for version 7.0222
Diffstat (limited to 'src')
-rw-r--r--src/charset.c4
-rw-r--r--src/misc2.c6
-rw-r--r--src/regexp.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/src/charset.c b/src/charset.c
index 1e0e8372e..7c820d24b 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -914,7 +914,7 @@ vim_iswordc_buf(p, buf)
# endif
return (GET_CHARTAB(buf, *p) != 0);
}
-#endif /* FEAT_SYN_HL */
+#endif
/*
* return TRUE if 'c' is a valid file-name character
@@ -1464,7 +1464,7 @@ skipdigits(p)
return p;
}
-#if defined(FEAT_SYN_HL) || defined(PROTO)
+#if defined(FEAT_SYN_HL) || defined(FEAT_SPELL) || defined(PROTO)
/*
* skip over digits and hex characters
*/
diff --git a/src/misc2.c b/src/misc2.c
index dddbc5fb0..44b05178b 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -968,7 +968,7 @@ free_all_mem()
do_cmdline_cmd((char_u *)"only!");
#endif
-# if defined(FEAT_SYN_HL)
+# if defined(FEAT_SPELL)
/* Free all spell info. */
spell_free_all();
# endif
@@ -1270,7 +1270,7 @@ vim_strup(p)
}
}
-#if defined(FEAT_EVAL) || defined(FEAT_SYN_HL) || defined(PROTO)
+#if defined(FEAT_EVAL) || defined(FEAT_SPELL) || defined(PROTO)
/*
* Make string "s" all upper-case and return it in allocated memory.
* Handles multi-byte characters as well as possible.
@@ -5758,7 +5758,7 @@ vimpty_getenv(string)
#endif /* !defined(HAVE_SETENV) && !defined(HAVE_PUTENV) */
-#if defined(FEAT_EVAL) || defined(FEAT_SYN_HL) || defined(PROTO)
+#if defined(FEAT_EVAL) || defined(FEAT_SPELL) || defined(PROTO)
/*
* Return 0 for not writable, 1 for writable file, 2 for a dir which we have
* rights to write into.
diff --git a/src/regexp.c b/src/regexp.c
index a143719c8..2ff8ea333 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -1780,12 +1780,12 @@ regatom(flagp)
}
break;
-#ifdef FEAT_SYN_HL
case Magic('z'):
{
c = no_Magic(getchr());
switch (c)
{
+#ifdef FEAT_SYN_HL
case '(': if (reg_do_extmatch != REX_SET)
EMSG_RET_NULL(_("E66: \\z( not allowed here"));
if (one_exactly)
@@ -1810,6 +1810,7 @@ regatom(flagp)
ret = regnode(ZREF + c - '0');
re_has_z = REX_USE;
break;
+#endif
case 's': ret = regnode(MOPEN + 0);
break;
@@ -1821,7 +1822,6 @@ regatom(flagp)
}
}
break;
-#endif
case Magic('%'):
{