mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
- add note about strict ordering
This commit is contained in:
parent
c2ad4f5d27
commit
35492137f8
@ -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 },
|
||||||
|
Loading…
Reference in New Issue
Block a user