- add note about strict ordering

This commit is contained in:
Bernhard Reutner-Fischer 2006-06-21 18:19:53 +00:00
parent c2ad4f5d27
commit 35492137f8

View File

@ -1312,6 +1312,7 @@ struct builtincmd {
#define IS_BUILTIN_REGULAR(builtincmd) ((builtincmd)->name[0] & 2) #define IS_BUILTIN_REGULAR(builtincmd) ((builtincmd)->name[0] & 2)
#define IS_BUILTIN_ASSIGN(builtincmd) ((builtincmd)->name[0] & 4) #define IS_BUILTIN_ASSIGN(builtincmd) ((builtincmd)->name[0] & 4)
/* make sure to keep these in proper order since it is searched via bsearch() */
static const struct builtincmd builtincmd[] = { static const struct builtincmd builtincmd[] = {
{ BUILTIN_SPEC_REG ".", dotcmd }, { BUILTIN_SPEC_REG ".", dotcmd },
{ BUILTIN_SPEC_REG ":", truecmd }, { BUILTIN_SPEC_REG ":", truecmd },