mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.1399
Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code.
This commit is contained in:
@@ -39,74 +39,7 @@ static garray_T user_digraphs = {0, 0, (int)sizeof(digr_T), 10, NULL};
|
||||
* compilers cannot handle them (Amiga SAS/C is the most picky one).
|
||||
*/
|
||||
static digr_T digraphdefault[] =
|
||||
#if defined(MSDOS)
|
||||
/*
|
||||
* MSDOS digraphs.
|
||||
*/
|
||||
{{'C', ',', 128}, /* ~@ XX */
|
||||
{'u', '"', 129}, /* <20> */
|
||||
{'e', '\'', 130}, /* <20> */
|
||||
{'a', '^', 131}, /* <20> */
|
||||
{'a', '"', 132}, /* <20> */
|
||||
{'a', '`', 133}, /* <20> */
|
||||
{'a', '@', 134}, /* <20> */
|
||||
{'c', ',', 135}, /* ~G XX */
|
||||
{'e', '^', 136}, /* ~H XX */
|
||||
{'e', '"', 137}, /* <20> */
|
||||
{'e', '`', 138}, /* <20> */
|
||||
{'i', '"', 139}, /* <20> */
|
||||
{'i', '^', 140}, /* <20> */
|
||||
{'i', '`', 141}, /* <20> */
|
||||
{'A', '"', 142}, /* ~N XX */
|
||||
{'A', '@', 143}, /* <20> */
|
||||
{'E', '\'', 144}, /* <20> */
|
||||
{'a', 'e', 145}, /* <20> */
|
||||
{'A', 'E', 146}, /* <20> */
|
||||
{'o', '^', 147}, /* <20> */
|
||||
{'o', '"', 148}, /* <20> */
|
||||
{'o', '`', 149}, /* <20> */
|
||||
{'u', '^', 150}, /* <20> */
|
||||
{'u', '`', 151}, /* <20> */
|
||||
{'y', '"', 152}, /* <20> */
|
||||
{'O', '"', 153}, /* <20> */
|
||||
{'U', '"', 154}, /* <20> */
|
||||
{'c', '|', 155}, /* <20> */
|
||||
{'$', '$', 156}, /* <20> */
|
||||
{'Y', '-', 157}, /* ~] XX */
|
||||
{'P', 't', 158}, /* <20> */
|
||||
{'f', 'f', 159}, /* <20> */
|
||||
{'a', '\'', 160}, /* <20> */
|
||||
{'i', '\'', 161}, /* <20> */
|
||||
{'o', '\'', 162}, /* <20> */
|
||||
{'u', '\'', 163}, /* x XX */
|
||||
{'n', '~', 164}, /* <20> */
|
||||
{'N', '~', 165}, /* <20> */
|
||||
{'a', 'a', 166}, /* <20> */
|
||||
{'o', 'o', 167}, /* <20> */
|
||||
{'~', '?', 168}, /* <20> */
|
||||
{'-', 'a', 169}, /* <20> */
|
||||
{'a', '-', 170}, /* <20> */
|
||||
{'1', '2', 171}, /* <20> */
|
||||
{'1', '4', 172}, /* <20> */
|
||||
{'~', '!', 173}, /* <20> */
|
||||
{'<', '<', 174}, /* <20> */
|
||||
{'>', '>', 175}, /* <20> */
|
||||
|
||||
{'s', 's', 225}, /* <20> */
|
||||
{'j', 'u', 230}, /* <20> */
|
||||
{'o', '/', 237}, /* <20> */
|
||||
{'+', '-', 241}, /* <20> */
|
||||
{'>', '=', 242}, /* <20> */
|
||||
{'<', '=', 243}, /* <20> */
|
||||
{':', '-', 246}, /* <20> */
|
||||
{'~', '~', 247}, /* <20> */
|
||||
{'~', 'o', 248}, /* <20> */
|
||||
{'2', '2', 253}, /* <20> */
|
||||
{NUL, NUL, NUL}
|
||||
};
|
||||
|
||||
#else /* !MSDOS */
|
||||
# ifdef __MINT__
|
||||
#ifdef __MINT__
|
||||
|
||||
/*
|
||||
* ATARI digraphs
|
||||
@@ -171,8 +104,8 @@ static digr_T digraphdefault[] =
|
||||
{NUL, NUL, NUL}
|
||||
};
|
||||
|
||||
# else /* !__MINT__ */
|
||||
# ifdef HPUX_DIGRAPHS
|
||||
#else /* !__MINT__ */
|
||||
# ifdef HPUX_DIGRAPHS
|
||||
|
||||
/*
|
||||
* different HPUX digraphs
|
||||
@@ -275,9 +208,9 @@ static digr_T digraphdefault[] =
|
||||
{NUL, NUL, NUL}
|
||||
};
|
||||
|
||||
# else /* !HPUX_DIGRAPHS */
|
||||
# else /* !HPUX_DIGRAPHS */
|
||||
|
||||
# ifdef EBCDIC
|
||||
# ifdef EBCDIC
|
||||
|
||||
/*
|
||||
* EBCDIC - ISO digraphs
|
||||
@@ -387,8 +320,8 @@ static digr_T digraphdefault[] =
|
||||
{NUL, NUL, NUL}
|
||||
};
|
||||
|
||||
# else
|
||||
# if defined(MACOS) && !defined(FEAT_MBYTE)
|
||||
# else
|
||||
# if defined(MACOS) && !defined(FEAT_MBYTE)
|
||||
|
||||
/*
|
||||
* Macintosh digraphs
|
||||
@@ -516,9 +449,9 @@ static digr_T digraphdefault[] =
|
||||
{NUL, NUL, NUL}
|
||||
};
|
||||
|
||||
# else /* !MACOS */
|
||||
# else /* !MACOS */
|
||||
|
||||
# ifdef OLD_DIGRAPHS
|
||||
# ifdef OLD_DIGRAPHS
|
||||
|
||||
/*
|
||||
* digraphs compatible with Vim 5.x
|
||||
@@ -625,7 +558,7 @@ static digr_T digraphdefault[] =
|
||||
{'y', '"', 255}, /* x XX */
|
||||
{NUL, NUL, NUL}
|
||||
};
|
||||
# else /* OLD_DIGRAPHS */
|
||||
# else /* OLD_DIGRAPHS */
|
||||
|
||||
/*
|
||||
* digraphs for Unicode from RFC1345
|
||||
@@ -2001,13 +1934,12 @@ static digr_T digraphdefault[] =
|
||||
{NUL, NUL, NUL}
|
||||
};
|
||||
|
||||
# endif /* OLD_DIGRAPHS */
|
||||
# endif /* OLD_DIGRAPHS */
|
||||
|
||||
# endif /* Macintosh */
|
||||
# endif /* EBCDIC */
|
||||
# endif /* !HPUX_DIGRAPHS */
|
||||
# endif /* !__MINT__ */
|
||||
#endif /* !MSDOS */
|
||||
# endif /* Macintosh */
|
||||
# endif /* EBCDIC */
|
||||
# endif /* !HPUX_DIGRAPHS */
|
||||
#endif /* !__MINT__ */
|
||||
|
||||
/*
|
||||
* handle digraphs after typing a character
|
||||
|
Reference in New Issue
Block a user