<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/main/lex.go
diff options
context:
space:
mode:
authorCharlie Stanton <charlie@shtanton.xyz>2024-04-23 20:25:49 +0100
committerCharlie Stanton <charlie@shtanton.xyz>2024-04-23 20:25:49 +0100
commit7084f5e1ceb61eab199512410048ad53e3ea08d7 (patch)
tree54db2851f4eb4b06998e00173d0bf30b9991d43f /main/lex.go
parent663dd2ede81e6415a3c16a46d8e9cfa2e209238f (diff)
downloadstred-go-7084f5e1ceb61eab199512410048ad53e3ea08d7.tar
Add full merge command
Diffstat (limited to 'main/lex.go')
-rw-r--r--main/lex.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/lex.go b/main/lex.go
index 8e66890..da517cc 100644
--- a/main/lex.go
+++ b/main/lex.go
@@ -180,7 +180,7 @@ func lexCommand(l *lexer) stateFunc {
case '}':
l.emit(TokenRBrace)
return lexCommand
- case 's', 'S':
+ case 's', 'S', 'M':
l.emit(TokenCommand)
return lexSubstitution
case 'x', 'X', 'y', 'Y', 'z', 'Z', 'n', 'N':