Simplify tokenization code.
This commit is contained in:
parent
393010ec41
commit
4b51b06b73
2 changed files with 7 additions and 23 deletions
2
advent.h
2
advent.h
|
@ -192,7 +192,7 @@ extern struct settings_t settings;
|
|||
extern char* xstrdup(const char* s);
|
||||
extern void* xmalloc(size_t size);
|
||||
extern void packed_to_token(long, char token[]);
|
||||
extern long token_to_packed(const char token[TOKLEN+1]);
|
||||
extern long token_to_packed(const char token[]);
|
||||
extern void tokenize(char*, struct command_t *);
|
||||
extern void vspeak(const char*, bool, va_list);
|
||||
extern bool wordeq(token_t, token_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue