1
0
forked from aniani/vim

updated for version 7.0077

This commit is contained in:
Bram Moolenaar
2005-05-31 22:02:19 +00:00
parent 0e6830e009
commit d6ec8454b0

View File

@@ -2601,8 +2601,12 @@ spell_read_aff(fname, conv, ascii)
else if (*items[2] == 'N') else if (*items[2] == 'N')
cur_aff->ah_combine = FALSE; cur_aff->ah_combine = FALSE;
else if (p_verbose > 0) else if (p_verbose > 0)
{
verbose_enter();
smsg((char_u *)_("Expected Y or N in %s line %d: %s"), smsg((char_u *)_("Expected Y or N in %s line %d: %s"),
fname, lnum, items[2]); fname, lnum, items[2]);
verbose_leave();
}
cur_aff->ah_first = NULL; cur_aff->ah_first = NULL;
if (*items[0] == 'P') if (*items[0] == 'P')
tp = &aff->af_pref; tp = &aff->af_pref;
@@ -2699,8 +2703,12 @@ spell_read_aff(fname, conv, ascii)
++aff->af_rep.ga_len; ++aff->af_rep.ga_len;
} }
else if (p_verbose > 0) else if (p_verbose > 0)
{
verbose_enter();
smsg((char_u *)_("Unrecognized item in %s line %d: %s"), smsg((char_u *)_("Unrecognized item in %s line %d: %s"),
fname, lnum, items[0]); fname, lnum, items[0]);
verbose_leave();
}
} }
} }
@@ -3615,8 +3623,12 @@ get_basicword(word, asize)
if (*p == NUL) /* Only non-word chars (bad word!) */ if (*p == NUL) /* Only non-word chars (bad word!) */
{ {
if (p_verbose > 0) if (p_verbose > 0)
{
verbose_enter();
smsg((char_u *)_("Warning: word without word characters: \"%s\""), smsg((char_u *)_("Warning: word without word characters: \"%s\""),
foldword); foldword);
verbose_leave();
}
break; break;
} }
if (spell_iswordc(p)) if (spell_iswordc(p))