Fix GitLab issue #13 - The "eat" command exhibits strange behavior
authorEric S. Raymond <esr@thyrsus.com>
Wed, 21 Jun 2017 20:54:10 +0000 (16:54 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 21 Jun 2017 20:54:10 +0000 (16:54 -0400)
commitfd6da1537369ec3dea28ab2efbef628bb634c7e5
tree1aee86fc7e017769b6e26bec441fe8a981d254e0
parent6dbe6f081cf43132ff5e271c6777189c91f26c2b
Fix GitLab issue #13 - The "eat" command exhibits strange behavior

The problem wasn't actually with "eat" but with "grate".  Processing
of any two-word command with an object of "grate", when given at certain
locations including the start, inappropriately jumped directly
to the movement code (ignoring the verb).

There was a similar bug in the ancestral 2.5, though it manifested slightly
differently.
actions.c
tests/carrybird.chk
tests/illformed.chk