env_manip: sort funcs per structure that is being manipulated

This is instead of the operation that is being performed.

I find it more logical this way, but if you prefer we can keep it as-is.

I also put the identifier_isvalid func into parser/matchers
This commit is contained in:
Khaïs COLIN 2025-02-19 13:29:44 +01:00
parent e985fcc562
commit e445f668b3
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
13 changed files with 317 additions and 215 deletions

View file

@ -19,10 +19,12 @@ ifeq ($(CFLAGS),)
endif
export CFLAGS
srcs = \
src/env_get.c \
src/env_manip.c \
src/env_manip_utils.c \
src/env/env.c \
src/env/env_convert.c \
src/env/env_manip.c \
src/env/envp.c \
src/ft_errno.c \
src/parser/matchers/identifier.c \
src/parser/matchers/metacharacter.c \
objs = $(srcs:.c=.o)