diff options
author | Charlie Stanton <charlie@shtanton.xyz> | 2023-04-20 16:57:48 +0100 |
---|---|---|
committer | Charlie Stanton <charlie@shtanton.xyz> | 2023-04-20 16:57:48 +0100 |
commit | 3cb886859e9b4df4ece183583dfd8b5ba7a59584 (patch) | |
tree | ae634d27d3fde1dbb7d5ac377f9aea80064e0a47 /main/lex.go | |
parent | 9bffe238bd97d1dc606c84f2dfc4c73c99b36eea (diff) | |
download | stred-go-3cb886859e9b4df4ece183583dfd8b5ba7a59584.tar |
Adds some shorthands for substituting the beginning and end of the path register
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 2826b1e..ecb0d3d 100644 --- a/main/lex.go +++ b/main/lex.go @@ -179,7 +179,7 @@ func lexCommand(l *lexer) stateFunc { case '}': l.emit(TokenRBrace) return lexCommand - case 's', 'S': + case 's', 'S', 'f', 'F', 'l', 'L': l.emit(TokenCommand) return lexSubstitution } |