diff options
Diffstat (limited to 'main/parse.go')
-rw-r--r-- | main/parse.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/parse.go b/main/parse.go index 9cc93e7..8211444 100644 --- a/main/parse.go +++ b/main/parse.go @@ -251,6 +251,14 @@ func (p *parser) parseBasicCommand(commandChar rune) Command { return PrintLiteralsCommand {items: items} case 'o': return NoopCommand{} + case 'x': + return SwapXRegCommand{} + case 'X': + return AppendXRegCommand{} + case 'k': + return SwapPathCommand{} + case 'K': + return AppendPathCommand{} default: panic("Invalid command") } |