From ff5346994fc2eeed229d635a0b7499668745c141 Mon Sep 17 00:00:00 2001 From: David Ashby Date: Sat, 20 Feb 2021 19:18:45 -0500 Subject: [PATCH] whoops, lost the bad-word error case --- eval.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eval.go b/eval.go index a77fff4..f13c90f 100644 --- a/eval.go +++ b/eval.go @@ -87,6 +87,8 @@ func (c *Context) Exec(w Word) error { if err != nil { return err } + } else { + return fmt.Errorf("unable to parse word %s", w.Name) } return nil }