update: added folding into cmd and changed fold_word name
This commit is contained in:
parent
7fb16c6a90
commit
5c452993d6
15 changed files with 112 additions and 62 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/10/06 13:32:28 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/10/06 13:32:39 by maiboyer ### ########.fr */
|
||||
/* Updated: 2024/10/07 16:47:20 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -62,5 +62,7 @@ t_str token_name(t_token *token)
|
|||
return ("DLPAREN");
|
||||
if (token->type == TOK_DRPAREN)
|
||||
return ("DRPAREN");
|
||||
if (token->type == TOK_CMD)
|
||||
return ("CMD");
|
||||
return (NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue