From 1e66aaece6ea7cd3c705ca56ce5558e8f87681b8 Mon Sep 17 00:00:00 2001 From: Charlie Stanton Date: Sun, 21 Apr 2024 17:16:01 +0100 Subject: Add substitute next commands --- 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 a28975f..8e66890 100644 --- a/main/lex.go +++ b/main/lex.go @@ -183,7 +183,7 @@ func lexCommand(l *lexer) stateFunc { case 's', 'S': l.emit(TokenCommand) return lexSubstitution - case 'x', 'X', 'y', 'Y', 'z', 'Z': + case 'x', 'X', 'y', 'Y', 'z', 'Z', 'n', 'N': l.emit(TokenCommand) if l.peek() == '/' { return lexSubstitution -- cgit v1.2.3