diff options
author | Charlie Stanton <charlie@shtanton.xyz> | 2024-04-23 20:25:49 +0100 |
---|---|---|
committer | Charlie Stanton <charlie@shtanton.xyz> | 2024-04-23 20:25:49 +0100 |
commit | 7084f5e1ceb61eab199512410048ad53e3ea08d7 (patch) | |
tree | 54db2851f4eb4b06998e00173d0bf30b9991d43f /main/lex.go | |
parent | 663dd2ede81e6415a3c16a46d8e9cfa2e209238f (diff) | |
download | stred-go-7084f5e1ceb61eab199512410048ad53e3ea08d7.tar |
Add full merge command
Diffstat (limited to 'main/lex.go')
-rw-r--r-- | main/lex.go | 2 |
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': |