aboutsummaryrefslogtreecommitdiff
path: root/src/lexer/lexer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lexer/lexer.c')
-rw-r--r--src/lexer/lexer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lexer/lexer.c b/src/lexer/lexer.c
index befc9b8..176eebd 100644
--- a/src/lexer/lexer.c
+++ b/src/lexer/lexer.c
@@ -6,12 +6,11 @@
/* By: nahaddac <nahaddac@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/07/16 08:18:25 by nahaddac #+# #+# */
-/* Updated: 2020/09/10 08:33:29 by nahaddac ### ########.fr */
+/* Updated: 2020/09/13 08:52:16 by nahaddac ### ########.fr */
/* */
/* ************************************************************************** */
#include "lexer.h"
-#include <stdio.h>
int len_until_sep(char *input)
{
@@ -23,8 +22,6 @@ int len_until_sep(char *input)
if (input[i] == '\\')
{
i +=2;
- if (input[i] == '\\')
- ;
if (input[i] == ' ')
{
while(input[++i] == ' ')