Mercurial > vim
comparison src/ex_docmd.c @ 93:9c72ca2bfa44
updated for version 7.0037
author | vimboss |
---|---|
date | Tue, 11 Jan 2005 21:21:40 +0000 |
parents | e1a8191c6768 |
children | 98435a8ddb09 |
comparison
equal
deleted
inserted
replaced
92:a9e90b3356b6 | 93:9c72ca2bfa44 |
---|---|
62 static char_u *do_one_cmd __ARGS((char_u **, int, struct condstack *, char_u *(*getline)(int, void *, int), void *cookie)); | 62 static char_u *do_one_cmd __ARGS((char_u **, int, struct condstack *, char_u *(*getline)(int, void *, int), void *cookie)); |
63 #else | 63 #else |
64 static char_u *do_one_cmd __ARGS((char_u **, int, char_u *(*getline)(int, void *, int), void *cookie)); | 64 static char_u *do_one_cmd __ARGS((char_u **, int, char_u *(*getline)(int, void *, int), void *cookie)); |
65 static int if_level = 0; /* depth in :if */ | 65 static int if_level = 0; /* depth in :if */ |
66 #endif | 66 #endif |
67 static int checkforcmd __ARGS((char_u **pp, char *cmd, int len)); | |
68 static char_u *find_command __ARGS((exarg_T *eap, int *full)); | 67 static char_u *find_command __ARGS((exarg_T *eap, int *full)); |
69 | 68 |
70 static void ex_abbreviate __ARGS((exarg_T *eap)); | 69 static void ex_abbreviate __ARGS((exarg_T *eap)); |
71 static void ex_map __ARGS((exarg_T *eap)); | 70 static void ex_map __ARGS((exarg_T *eap)); |
72 static void ex_unmap __ARGS((exarg_T *eap)); | 71 static void ex_unmap __ARGS((exarg_T *eap)); |
2614 #if (_MSC_VER == 1200) | 2613 #if (_MSC_VER == 1200) |
2615 # pragma optimize( "", on ) | 2614 # pragma optimize( "", on ) |
2616 #endif | 2615 #endif |
2617 | 2616 |
2618 /* | 2617 /* |
2619 * Check for a command modifier command with optional tail. | 2618 * Check for an Ex command with optional tail. |
2620 * If there is a match advance "pp" to the argument and return TRUE. | 2619 * If there is a match advance "pp" to the argument and return TRUE. |
2621 */ | 2620 */ |
2622 static int | 2621 int |
2623 checkforcmd(pp, cmd, len) | 2622 checkforcmd(pp, cmd, len) |
2624 char_u **pp; /* start of command line */ | 2623 char_u **pp; /* start of command */ |
2625 char *cmd; /* name of command */ | 2624 char *cmd; /* name of command */ |
2626 int len; /* required length */ | 2625 int len; /* required length */ |
2627 { | 2626 { |
2628 int i; | 2627 int i; |
2629 | 2628 |