From e4e454665bf7e21db21763c65bf35d23665b17cf Mon Sep 17 00:00:00 2001 From: Charlie Stanton Date: Wed, 29 Oct 2025 18:14:52 +0000 Subject: Improve internals of command control flow --- main/lex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/lex.go') diff --git a/main/lex.go b/main/lex.go index da517cc..0bcdaec 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', 'M': + case 's', 'S', 'M', 'r': l.emit(TokenCommand) return lexSubstitution case 'x', 'X', 'y', 'Y', 'z', 'Z', 'n', 'N': -- cgit v1.2.3