Enable ability to RETURN INFO

This commit is contained in:
Tobie Morgan Hitchcock 2016-09-21 17:56:27 +01:00
parent 504c1b81e2
commit bbae9a5fac

View file

@ -19,7 +19,7 @@ func (p *parser) parseEcho() (exp Token, err error) {
// Next token might be RETURN
if _, _, exi := p.mightBe(RETURN); exi {
exp, _, err = p.shouldBe(ID, NONE, BOTH, DIFF, BEFORE, AFTER)
exp, _, err = p.shouldBe(ID, NONE, INFO, BOTH, DIFF, BEFORE, AFTER)
if err != nil {
return 0, err
}