diff options
Diffstat (limited to 'src/lexer/lexer.c')
| -rw-r--r-- | src/lexer/lexer.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lexer/lexer.c b/src/lexer/lexer.c index 47dedc6..3bf9dc2 100644 --- a/src/lexer/lexer.c +++ b/src/lexer/lexer.c @@ -8,12 +8,7 @@ int len_is_not_sep(char *input) while(input[++i]) { if (lexer_sep(input[i])) - { - //if (input[i + 1] == ' ') - // while(input[++i] == ' ') - // ; return(i); - } if (input[i] == '\'' || input[i] == '"') return(i); if (input[i] == ' ') @@ -31,8 +26,8 @@ int check_input(char *input) int i; i = 0; - /* if (input[i] == '(' || input[i] == ')') */ - /* return (i + 1); */ + if (input[i] == '(' || input[i] == ')') + return (i + 1); if (lexer_sep(input[i])) { while(input[i] == input[i + 1]) |
