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/04/03 15:48:52 by khais #+# #+# */
|
||||
/* Updated: 2025/04/15 11:51:33 by khais ### ########.fr */
|
||||
/* Updated: 2025/04/15 11:59:23 by khais ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -27,7 +27,8 @@ static void fieldsplit_delimit(t_buffer *word, t_buffer *marker,
|
|||
{
|
||||
t_worddesc *out;
|
||||
|
||||
out = worddesc_create(word->buffer, original->flags, marker->buffer);
|
||||
out = worddesc_create(word->buffer, original->flags, marker->buffer,
|
||||
WORD_TOKEN);
|
||||
(*outlist) = wordlist_push(*outlist, out);
|
||||
free(word);
|
||||
free(marker);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue