0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0076

This commit is contained in:
Bram Moolenaar
2005-05-27 20:23:44 +00:00
parent 21de6660e1
commit 0e6830e009
5 changed files with 38 additions and 6 deletions

View File

@@ -327,7 +327,14 @@ ex_sort(eap)
sort_ic = TRUE;
else if (*p == 'u')
unique = TRUE;
else if (!ASCII_ISALPHA(*p))
else if (*p == '"') /* comment start */
break;
else if (check_nextcmd(p) != NULL)
{
eap->nextcmd = check_nextcmd(p);
break;
}
else if (!ASCII_ISALPHA(*p) && regmatch.regprog == NULL)
{
s = skip_regexp(p + 1, *p, TRUE, NULL);
if (*s != *p)
@@ -339,7 +346,7 @@ ex_sort(eap)
regmatch.regprog = vim_regcomp(p + 1, RE_MAGIC);
if (regmatch.regprog == NULL)
goto theend;
p = s + 1;
p = s; /* continue after the regexp */
regmatch.rm_ic = p_ic;
}
else