mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
token_type: add field with no logic for populating it
This commit is contained in:
parent
5716c4b3dc
commit
18014cda98
9 changed files with 39 additions and 32 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/03/20 15:01:38 by jguelen #+# #+# */
|
||||
/* Updated: 2025/04/03 19:58:36 by khais ### ########.fr */
|
||||
/* Updated: 2025/04/08 16:31:46 by khais ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ static t_wordlist *add_file_to_list(t_wordlist **list, char *filename)
|
|||
marker = construct_repeting_char_string('\'', ft_strlen(copy));
|
||||
if (!marker)
|
||||
return (wordlist_destroy(*list), free(copy), NULL);
|
||||
file_desc = worddesc_create(copy, '\0', marker);
|
||||
file_desc = worddesc_create(copy, '\0', marker, WORD_TOKEN);
|
||||
if (!file_desc)
|
||||
{
|
||||
wordlist_destroy(*list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue