aboutsummaryrefslogtreecommitdiff
path: root/src/lexer
diff options
context:
space:
mode:
Diffstat (limited to 'src/lexer')
-rw-r--r--src/lexer/lexer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lexer/lexer.c b/src/lexer/lexer.c
index ca4c933..0551648 100644
--- a/src/lexer/lexer.c
+++ b/src/lexer/lexer.c
@@ -6,7 +6,7 @@
/* By: nahaddac <nahaddac@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/07/16 08:18:25 by nahaddac #+# #+# */
-/* Updated: 2020/07/17 10:18:24 by nahaddac ### ########.fr */
+/* Updated: 2020/07/17 12:45:41 by nahaddac ### ########.fr */
/* */
/* ************************************************************************** */
@@ -47,9 +47,7 @@ int check_input(char *input)
i = 0;
op = 1;
if (input[i] == '\\' && lexer_sep(input[i + 1]))
- {
i += 2;
- }
if (input[i] == '(' || input[i] == ')')
return (i + 1);
if (lexer_sep(input[i]))