1
0
forked from aniani/vim

updated for version 7.0222

This commit is contained in:
Bram Moolenaar 2006-03-12 21:58:43 +00:00
parent 2b48ad5cd7
commit c4956c8d1d
3 changed files with 7 additions and 7 deletions

View File

@ -914,7 +914,7 @@ vim_iswordc_buf(p, buf)
# endif # endif
return (GET_CHARTAB(buf, *p) != 0); return (GET_CHARTAB(buf, *p) != 0);
} }
#endif /* FEAT_SYN_HL */ #endif
/* /*
* return TRUE if 'c' is a valid file-name character * return TRUE if 'c' is a valid file-name character
@ -1464,7 +1464,7 @@ skipdigits(p)
return 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 * skip over digits and hex characters
*/ */

View File

@ -968,7 +968,7 @@ free_all_mem()
do_cmdline_cmd((char_u *)"only!"); do_cmdline_cmd((char_u *)"only!");
#endif #endif
# if defined(FEAT_SYN_HL) # if defined(FEAT_SPELL)
/* Free all spell info. */ /* Free all spell info. */
spell_free_all(); spell_free_all();
# endif # 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. * Make string "s" all upper-case and return it in allocated memory.
* Handles multi-byte characters as well as possible. * Handles multi-byte characters as well as possible.
@ -5758,7 +5758,7 @@ vimpty_getenv(string)
#endif /* !defined(HAVE_SETENV) && !defined(HAVE_PUTENV) */ #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 * Return 0 for not writable, 1 for writable file, 2 for a dir which we have
* rights to write into. * rights to write into.

View File

@ -1780,12 +1780,12 @@ regatom(flagp)
} }
break; break;
#ifdef FEAT_SYN_HL
case Magic('z'): case Magic('z'):
{ {
c = no_Magic(getchr()); c = no_Magic(getchr());
switch (c) switch (c)
{ {
#ifdef FEAT_SYN_HL
case '(': if (reg_do_extmatch != REX_SET) case '(': if (reg_do_extmatch != REX_SET)
EMSG_RET_NULL(_("E66: \\z( not allowed here")); EMSG_RET_NULL(_("E66: \\z( not allowed here"));
if (one_exactly) if (one_exactly)
@ -1810,6 +1810,7 @@ regatom(flagp)
ret = regnode(ZREF + c - '0'); ret = regnode(ZREF + c - '0');
re_has_z = REX_USE; re_has_z = REX_USE;
break; break;
#endif
case 's': ret = regnode(MOPEN + 0); case 's': ret = regnode(MOPEN + 0);
break; break;
@ -1821,7 +1822,6 @@ regatom(flagp)
} }
} }
break; break;
#endif
case Magic('%'): case Magic('%'):
{ {