fix parse coefficient
This commit is contained in:
@@ -206,7 +206,7 @@ int lexerize(const char *input, token *tokens)
|
||||
{
|
||||
tokens[tokens_count].type = TOKEN_NUMBER_INT;
|
||||
tokens[tokens_count].tag = TOKEN_NUMBER;
|
||||
tokens[tokens_count].value_double = ft_atoi(&input[input_pos]);
|
||||
tokens[tokens_count].value_int = ft_atoi(&input[input_pos]);
|
||||
}
|
||||
else if (token_is_number_double(input, input_pos, &token_size))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user