From 773c5e115fbb4e8b432e95e02216af9b23415ca8 Mon Sep 17 00:00:00 2001 From: Charlie Stanton Date: Wed, 19 Apr 2023 17:05:27 +0100 Subject: Adds the noop command 'o' --- main/parse.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main/parse.go') diff --git a/main/parse.go b/main/parse.go index aed87cc..9cc93e7 100644 --- a/main/parse.go +++ b/main/parse.go @@ -249,6 +249,8 @@ func (p *parser) parseBasicCommand(commandChar rune) Command { case 'i': items := p.parseLiterals() return PrintLiteralsCommand {items: items} + case 'o': + return NoopCommand{} default: panic("Invalid command") } -- cgit v1.2.3