feat: corrected the is_space to me_isspace (take tabs and all whitespace)
This commit is contained in:
parent
d43ec1b814
commit
e46b8b438b
1 changed files with 1 additions and 10 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/09/25 16:27:03 by rparodi #+# #+# */
|
||||
/* Updated: 2024/09/29 13:29:54 by rparodi ### ########.fr */
|
||||
/* Updated: 2024/09/29 15:24:11 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -19,15 +19,6 @@
|
|||
#include <stdbool.h>
|
||||
#include "me/mem/mem.h"
|
||||
|
||||
// MAIX: attention les whitespace peuvent aussi etre des tab. de memoire il y a
|
||||
// une fonction "me_isspace" qui check ce qu'on veut dans "me/char/char.h"
|
||||
bool me_isspace(char c)
|
||||
{
|
||||
if (c == ' ')
|
||||
return (true);
|
||||
return (false);
|
||||
}
|
||||
|
||||
// MAIX: tu peux faire un token par character "whitespace", vu qu'on va
|
||||
// manipuler la list de token apres pour faire des truc plus simple a process
|
||||
// on se debrouillera pour plus avoir plein de token whitespace :)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue