token_type: add field with no logic for populating it

This commit is contained in:
Khaïs COLIN 2025-04-08 16:36:11 +02:00
parent 5716c4b3dc
commit 18014cda98
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
9 changed files with 39 additions and 32 deletions

View file

@ -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);