From 0da98a3d83b5aa6ccae73658ef0692c4023bc70f Mon Sep 17 00:00:00 2001 From: Charlie Stanton Date: Wed, 26 Apr 2023 11:57:37 +0100 Subject: Add Y and Z registers --- main/parse.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'main/parse.go') diff --git a/main/parse.go b/main/parse.go index d31687a..1972b66 100644 --- a/main/parse.go +++ b/main/parse.go @@ -142,6 +142,14 @@ func (p *parser) parseBasicCommand(commandChar rune) Command { return SwapXRegCommand{} case 'X': return AppendXRegCommand{} + case 'y': + return SwapYRegCommand{} + case 'Y': + return AppendYRegCommand{} + case 'z': + return SwapZRegCommand{} + case 'Z': + return AppendZRegCommand{} case 'k': return SwapPathCommand{} case 'K': -- cgit v1.2.3