feat: restarting the parser with advice of maiboyer
This commit is contained in:
parent
774f374965
commit
1ba78fe873
3 changed files with 34 additions and 23 deletions
24
parser/src/what_is_it.c
Normal file
24
parser/src/what_is_it.c
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue