feat: restarting the parser with advice of maiboyer

This commit is contained in:
Raphael 2024-09-27 21:40:37 +02:00
parent 774f374965
commit 1ba78fe873
3 changed files with 34 additions and 23 deletions

24
parser/src/what_is_it.c Normal file
View file

@ -0,0 +1,24 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* what_is_it.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/27 11:46:45 by rparodi #+# #+# */
/* Updated: 2024/09/27 12:48:18 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "me/vec/vec_token.h"
#include "parser/token.h"
#include "me/string/string.h"
#include "me/types.h"
#include <stdio.h>
bool is_quote(char c)
{
if (c == '"' || c == '\'')
return (true);
return (false);
}