WD* globals abolished. They're now members of the command block.

This commit is contained in:
Eric S. Raymond 2017-06-20 20:06:32 -04:00
parent 9714c9fc2a
commit 9437ccca36
4 changed files with 124 additions and 126 deletions

View file

@ -185,10 +185,12 @@ struct command_t {
enum speechpart part;
vocab_t verb;
vocab_t obj;
token_t wd1, wd1x;
token_t wd2, wd2x;
};
void initialise(void);
int action(FILE *input, struct command_t command);
int action(FILE *input, struct command_t *command);
/* Phase codes for action returns.
* These were at one time FORTRAN line numbers.