<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/main/parse.go
diff options
context:
space:
mode:
authorCharlie Stanton <charlie@shtanton.xyz>2024-04-07 16:04:23 +0100
committerCharlie Stanton <charlie@shtanton.xyz>2024-04-07 16:04:23 +0100
commit7162ae8c641314846f0b565d7614ac8d71dbd628 (patch)
treefba1b545e6d20dac7f958bedf83afc61fcbbc256 /main/parse.go
parent658900fcae610caace83a112ac0ee865108ebc92 (diff)
downloadstred-go-7162ae8c641314846f0b565d7614ac8d71dbd628.tar
Add merge command
Diffstat (limited to 'main/parse.go')
-rw-r--r--main/parse.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/parse.go b/main/parse.go
index 3e0e80b..3c24e6c 100644
--- a/main/parse.go
+++ b/main/parse.go
@@ -69,6 +69,8 @@ func (p *parser) parseBasicCommand(commands []Command, commandChar rune) []Comma
return append(commands, NextCommand{})
case 'N':
return append(commands, AppendNextCommand{})
+ case 'm':
+ return append(commands, MergeCommand{})
case 's':
ast := p.parseSubex()
subex := subex.CompileTransducer(ast)