This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository eshell.

View the commit online.

commit 445650e9262c8be199c1fcd4152bdc9c01c99445
Author: swagtoy <m...@ow.swag.toys>
AuthorDate: Fri Dec 6 18:51:25 2024 -0500

    lexer: Fix newline logic
---
 escript/src/lexer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/escript/src/lexer.c b/escript/src/lexer.c
index 2fd3581..ddb0342 100644
--- a/escript/src/lexer.c
+++ b/escript/src/lexer.c
@@ -127,7 +127,7 @@ escript_token_info_str(struct Escript_Token* token)
 static inline int
 handle_escape_seq(struct Escript_Lexer* const lex, Eina_Strbuf* const buf, int i)
 {
-	switch (at(1))
+	switch (at(i))
 	{
 	case 'n':
 		eina_strbuf_append_char(buf, '\n');

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to