Further narrow the scope of VERB.

This commit is contained in:
Eric S. Raymond 2017-06-07 09:57:23 -04:00
parent cc618146e8
commit 0e3456069f
2 changed files with 17 additions and 18 deletions

6
main.c
View file

@ -36,7 +36,7 @@ lcg_state lcgstate;
extern void initialise();
extern void score(long);
extern int action(FILE *, long, long);
extern int action(FILE *, long, long, long);
void sig_handler(int signo)
{
@ -471,11 +471,11 @@ L3000: SETPRM(1,WD1,WD1X);
/* Verb and object analysis moved to separate module. */
L4000: I=4000; goto Laction;
L4000: I=4000; VERB=K; goto Laction;
L4090: I=4090; goto Laction;
L5000: I=5000;
Laction:
switch (action(cmdin, I, obj)) {
switch (action(cmdin, I, VERB, obj)) {
case 2: return true;
case 8: goto L8;
case 2000: goto L2000;