No more packing in the parser.

As a side effect, ill-formed input consisting of "_\n" gives
a slighty better error message.
This commit is contained in:
Eric S. Raymond 2017-07-20 10:15:39 -04:00
parent 78ba0fac6a
commit 2fa530340d
3 changed files with 7 additions and 18 deletions

View file

@ -106,9 +106,7 @@ full description of a place unless you explicitly ask me to.
> _
I don't know how to apply that word here.
You're in front of building.
Sorry, I don't know the word "_".
> back
@ -259,9 +257,7 @@ There is a bottle of water here.
> out
You are standing at the end of a road before a small brick building.
Around you is a forest. A small stream flows out of the building and
down a gully.
You're in front of building.
> stream
@ -282,7 +278,9 @@ Blasting requires dynamite.
> building
You're in front of building.
You are standing at the end of a road before a small brick building.
Around you is a forest. A small stream flows out of the building and
down a gully.
> cave