X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=advent.h;h=1e7a0962f65d7684f1df8cd1f193d4512af7da49;hb=5c30d6429f4f5e3d187d52b6ac623d61968738a4;hp=b011e96f9e7429fd623ba3d7e825ce582968d485;hpb=5c91ea37393dcad690ed03dc3afc56b593a1be1c;p=open-adventure.git diff --git a/advent.h b/advent.h index b011e96..1e7a096 100644 --- a/advent.h +++ b/advent.h @@ -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 */