Simplify command word handling.

This commit is contained in:
Jason S. Ninneman 2017-08-02 23:43:52 -07:00
parent 23ae7edb10
commit 5c30d6429f
2 changed files with 9 additions and 6 deletions

View file

@ -230,4 +230,11 @@ extern void state_change(obj_t, int);
void bug(enum bugtype, const char *) __attribute__((__noreturn__));
/* represent an empty command word */
static const command_word_t empty_command_word = {
.raw = "",
.id = WORD_EMPTY,
.type = NO_WORD_TYPE,
};
/* end */