1
0
forked from aniani/vim

updated for version 7.2.351

Problem:    Can't build with some compilers.
Solution:   Move the #ifdef outside of a macro.  Cleanup the code.
This commit is contained in:
Bram Moolenaar
2010-01-28 22:58:16 +01:00
parent c5d5d01ad9
commit d21d9a6c61
2 changed files with 18 additions and 9 deletions

View File

@@ -2492,17 +2492,24 @@ vgetorpeek(advance)
i = FAIL; i = FAIL;
else else
{ {
i = ins_typebuf(s, int noremap;
save_m_noremap != REMAP_YES
? save_m_noremap if (save_m_noremap != REMAP_YES)
: STRNCMP(s, noremap = save_m_noremap;
else if (
#ifdef FEAT_EVAL #ifdef FEAT_EVAL
save_m_keys != NULL ? save_m_keys : STRNCMP(s, save_m_keys != NULL
? save_m_keys : mp->m_keys,
(size_t)keylen)
#else
STRNCMP(s, mp->m_keys, (size_t)keylen)
#endif #endif
mp->m_keys, != 0)
(size_t)keylen) != 0 noremap = REMAP_YES;
? REMAP_YES : REMAP_SKIP, else
0, TRUE, cmd_silent || save_m_silent); noremap = REMAP_SKIP;
i = ins_typebuf(s, noremap,
0, TRUE, cmd_silent || save_m_silent);
#ifdef FEAT_EVAL #ifdef FEAT_EVAL
if (save_m_expr) if (save_m_expr)
vim_free(s); vim_free(s);

View File

@@ -681,6 +681,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
351,
/**/ /**/
350, 350,
/**/ /**/