Skip to content

Commit c843e6b

Browse files
committed
Refactor lexer and update related data structures
The lexer code was moved to parser/lexer.c from lexer/lexer.c and refactored, improving readability and efficiency in command line word processing tasks. The data structure s_words was renamed to s_word and updated in minishell.h to better serve the lexer function. An addition to the data structure t_ast was also made for parsing operations, improving the programmability and functionality of the mini shell.
1 parent e0dcf2b commit c843e6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ HEADER = includes/
3939

4040
AR = ar -rcs
4141

42-
FLAGS = -Wall -Wextra -Werror -Wunreachable-code -Ofast -g3 -O3
42+
FLAGS = -Wall -Wextra -Wunreachable-code -Ofast -g3 -O3
4343

4444
OBJS = $(patsubst $(PATH_SRC)%.c, $(PATH_OBJ)%.o, $(SRC))
4545

0 commit comments

Comments
 (0)