Enable ability to RETURN INFO
This commit is contained in:
parent
504c1b81e2
commit
bbae9a5fac
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ func (p *parser) parseEcho() (exp Token, err error) {
|
||||||
// Next token might be RETURN
|
// Next token might be RETURN
|
||||||
if _, _, exi := p.mightBe(RETURN); exi {
|
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 {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue