Merge remote-tracking branch 'origin' into maix/norminette

This commit is contained in:
Maix0 2024-05-03 15:21:37 +02:00
commit f35e986145
107 changed files with 476 additions and 138 deletions

View file

@ -6,7 +6,7 @@
# By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/04/28 17:28:30 by maiboyer #+# #+# #
# Updated: 2024/05/01 10:34:21 by maiboyer ### ########.fr #
# Updated: 2024/05/02 15:14:11 by maiboyer ### ########.fr #
# #
# **************************************************************************** #
@ -55,7 +55,7 @@ END = \033[0m
all:
@$(MAKE) -C ./stdme/ LIB_NAME="$(shell realpath ./stdme)/" "BUILD_DIR=$(shell realpath ./$(OBJDIRNAME))" CC=$(CC) libme.a
@$(MAKE) -C ./parser/ LIB_NAME="$(shell realpath ./parser)/" "BUILD_DIR=$(shell realpath ./$(OBJDIRNAME))" libgmr.a
@$(MAKE) -C ./parser/ LIB_NAME="$(shell realpath ./parser)/" -j "BUILD_DIR=$(shell realpath ./$(OBJDIRNAME))" libgmr.a
@$(MAKE) -f./Minishell.mk $(NAME)
# Bonus (make bonus)

View file

@ -0,0 +1,22 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* handle_concat.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/02 15:49:12 by maiboyer #+# #+# */
/* Updated: 2024/05/02 15:52:16 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef HANDLE_CONCAT_H
#define HANDLE_CONCAT_H
#include "app/state.h"
#include "app/node.h"
#include "me/types.h"
t_error handle_concat(t_node *self, t_utils *shcat, t_str *ret);
#endif /* HANDLE_CONCAT_H */

View file

@ -0,0 +1,21 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* handle_raw_word.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/02 15:58:01 by maiboyer #+# #+# */
/* Updated: 2024/05/02 15:58:48 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef HANDLE_RAW_WORD_H
#define HANDLE_RAW_WORD_H
#include "app/node.h"
#include "app/state.h"
t_error handle_raw_string(t_node *self, t_utils *shcat, t_str *ret);
#endif /* HANDLE_RAW_WORD_H */

View file

@ -0,0 +1,22 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* handle_word.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/02 16:00:11 by maiboyer #+# #+# */
/* Updated: 2024/05/02 16:00:40 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef HANDLE_WORD_H
#define HANDLE_WORD_H
#include "app/state.h"
#include "app/node.h"
#include "me/types.h"
t_error handle_word(t_node *self, t_utils *shcat, t_str *ret);
#endif /* HANDLE_WORD_H */

35
includes/app/state.h Normal file
View file

@ -0,0 +1,35 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* state.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/02 15:49:56 by maiboyer #+# #+# */
/* Updated: 2024/05/02 15:51:38 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef STATE_H
#define STATE_H
#include "app/node.h"
#include "me/types.h"
typedef struct s_parser
{
t_first_parser *parser;
} t_parser;
typedef struct s_utils
{
t_str name_shell;
t_str str_input;
t_str *strs_input;
t_str *path;
t_str *envp;
t_parser parser;
t_node current_node;
} t_utils;
#endif /* STATE_H */

View file

@ -6,46 +6,30 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/28 14:41:15 by rparodi #+# #+# */
/* Updated: 2024/04/30 16:41:57 by maiboyer ### ########.fr */
/* Updated: 2024/05/02 15:51:57 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef MINISHELL_H
#define MINISHELL_H
# include "me/types.h"
#include "app/node.h"
#include "app/state.h"
#include "me/types.h"
# include <unistd.h>
#include <fcntl.h>
# include <stdlib.h>
#include <readline/history.h>
#include <readline/readline.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/wait.h>
# include <stdlib.h>
# include <stdarg.h>
# include <readline/readline.h>
# include <readline/history.h>
#include <unistd.h>
#define PATH_FILES "/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
typedef struct s_parser
{
t_first_parser *parser;
} t_parser;
typedef struct s_utils
{
t_str name_shell;
t_str str_input;
t_str *strs_input;
t_str *path;
t_str *envp;
t_parser parser;
t_node current_node;
} t_utils;
t_i32 main(t_i32 argc, t_str argv[], t_str arge[]);
void ft_other_cmd(t_utils *shcat, t_usize i, t_usize prev_i);
t_i32 ft_strcmp(const char *s1, const char *s2);

View file

@ -6,7 +6,7 @@
# By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/11/03 13:20:01 by maiboyer #+# #+# #
# Updated: 2024/05/01 15:52:16 by maiboyer ### ########.fr #
# Updated: 2024/05/02 15:00:49 by maiboyer ### ########.fr #
# #
# **************************************************************************** #

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/24 23:01:45 by maiboyer #+# #+# */
/* Updated: 2024/04/29 16:41:40 by maiboyer ### ########.fr */
/* Updated: 2024/05/02 14:37:53 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -35,6 +35,10 @@
# include "parser/types/types_symbol.h"
# include "parser/types/types_symbol_metadata.h"
#ifndef inline
#define inline __inline__
#endif
static inline bool lex_skip(t_state_id state_value, t_lexer *lexer,
t_lexer_state *s)
{

View file

@ -46,6 +46,10 @@
uint32_t capacity; \
}
#ifndef inline
# define inline __inline__
#endif
/// Initialize an array.
#define array_init(self) \
((self)->size = 0, (self)->capacity = 0, (self)->contents = NULL)

View file

@ -24,4 +24,4 @@ void alias_sequences_0(t_alias_sequences_array *v);
void alias_sequences_1(t_alias_sequences_array *v);
void alias_sequences_2(t_alias_sequences_array *v);
#endif // ALIAS_SEQUENCES_H
#endif

View file

@ -35,4 +35,4 @@ static inline t_char_range *sym_word_character_set_1(void)
return (val);
}
#endif // CHARSET_INLINE_H
#endif

View file

@ -53,4 +53,4 @@ void external_scanner_states_29(t_external_scanner_states_array *v);
void external_scanner_states_30(t_external_scanner_states_array *v);
void external_scanner_states_31(t_external_scanner_states_array *v);
#endif // EXTERNAL_SCANNER_STATES_H
#endif

View file

@ -23,4 +23,4 @@
void external_scanner_symbol_map_0(t_external_scanner_symbol_map_array *v);
void external_scanner_symbol_map_1(t_external_scanner_symbol_map_array *v);
#endif // EXTERNAL_SCANNER_SYMBOL_MAP_H
#endif

View file

@ -36,4 +36,4 @@ void field_map_entries_12(t_field_map_entries_array *v);
void field_map_entries_13(t_field_map_entries_array *v);
void field_map_entries_14(t_field_map_entries_array *v);
#endif // FIELD_MAP_ENTRIES_H
#endif

View file

@ -29,4 +29,4 @@ void field_map_slices_5(t_field_map_slices_array *v);
void field_map_slices_6(t_field_map_slices_array *v);
void field_map_slices_7(t_field_map_slices_array *v);
#endif // FIELD_MAP_SLICES_H
#endif

View file

@ -22,4 +22,4 @@
void field_names_0(t_field_names_array *v);
#endif // FIELD_NAMES_H
#endif

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/05/02 14:39:56 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -24,4 +24,4 @@
# define MAX_ALIAS_SEQUENCE_LENGTH 8
# define PRODUCTION_ID_COUNT 159
#endif // CONSTANTS_H
#endif

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/05/02 14:40:04 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -45,4 +45,4 @@ enum e_external_scanner_symbol_identifiers {
ts_external_token___error_recovery = 28,
};
#endif // EXTERNAL_SCANNER_SYMBOL_IDENTIFIERS_H
#endif

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/05/02 14:40:12 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -35,4 +35,4 @@ enum e_field_identifiers {
field_variable = 19,
};
#endif // FIELD_IDENTIFIERS_H
#endif

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/05/02 14:40:22 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -295,4 +295,4 @@ enum e_symbols {
aux_sym__concatenation_in_expansion_repeat1 = 279,
};
#endif // SYMBOLS_H
#endif

View file

@ -27,4 +27,4 @@ void lex_keywords_array_2(t_lex_keywords_array *v);
void lex_keywords_array_3(t_lex_keywords_array *v);
void lex_keywords_array_4(t_lex_keywords_array *v);
#endif // LEX_KEYWORDS_ARRAY_H
#endif

View file

@ -19,4 +19,4 @@
# include "../../headers/constants.h"
# include "../../../parse_types.h"
#endif // INLINE_H
#endif

View file

@ -124,4 +124,4 @@ bool lex_keywords_s95(t_lexer *lexer, t_lexer_state *s);
bool lex_keywords_s96(t_lexer *lexer, t_lexer_state *s);
bool lex_keywords_default(t_lexer *lexer, t_lexer_state *s);
#endif // LEX_KEYWORDS_FUNCS_H
#endif

View file

@ -70,4 +70,4 @@ void lex_normal_array_45(t_lex_normal_array *v);
void lex_normal_array_46(t_lex_normal_array *v);
void lex_normal_array_47(t_lex_normal_array *v);
#endif // LEX_NORMAL_ARRAY_H
#endif

View file

@ -66,4 +66,4 @@
# include "./inline/inline_impl45.h"
# include "./inline/inline_impl46.h"
#endif // INLINE_H
#endif

View file

@ -83,4 +83,4 @@ static inline bool lex_normal_map84(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL0_H
#endif

View file

@ -83,4 +83,4 @@ static inline bool lex_normal_map236(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL1_H
#endif

View file

@ -83,4 +83,4 @@ static inline bool lex_normal_map281(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL10_H
#endif

View file

@ -83,4 +83,4 @@ static inline bool lex_normal_map286(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL11_H
#endif

View file

@ -81,4 +81,4 @@ static inline bool lex_normal_map291(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL12_H
#endif

View file

@ -82,4 +82,4 @@ static inline bool lex_normal_map296(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL13_H
#endif

View file

@ -81,4 +81,4 @@ static inline bool lex_normal_map401(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL14_H
#endif

View file

@ -88,4 +88,4 @@ static inline bool lex_normal_map406(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL15_H
#endif

View file

@ -85,4 +85,4 @@ static inline bool lex_normal_map411(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL16_H
#endif

View file

@ -83,4 +83,4 @@ static inline bool lex_normal_map416(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL17_H
#endif

View file

@ -80,4 +80,4 @@ static inline bool lex_normal_map421(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL18_H
#endif

View file

@ -80,4 +80,4 @@ static inline bool lex_normal_map426(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL19_H
#endif

View file

@ -82,4 +82,4 @@ static inline bool lex_normal_map241(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL2_H
#endif

View file

@ -83,4 +83,4 @@ static inline bool lex_normal_map431(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL20_H
#endif

View file

@ -79,4 +79,4 @@ static inline bool lex_normal_map436(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL21_H
#endif

View file

@ -74,4 +74,4 @@ static inline bool lex_normal_map441(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL22_H
#endif

View file

@ -76,4 +76,4 @@ static inline bool lex_normal_map446(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL23_H
#endif

View file

@ -74,4 +74,4 @@ static inline bool lex_normal_map451(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL24_H
#endif

View file

@ -71,4 +71,4 @@ static inline bool lex_normal_map456(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL25_H
#endif

View file

@ -78,4 +78,4 @@ static inline bool lex_normal_map461(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL26_H
#endif

View file

@ -78,4 +78,4 @@ static inline bool lex_normal_map466(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL27_H
#endif

View file

@ -78,4 +78,4 @@ static inline bool lex_normal_map471(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL28_H
#endif

View file

@ -75,4 +75,4 @@ static inline bool lex_normal_map476(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL29_H
#endif

View file

@ -82,4 +82,4 @@ static inline bool lex_normal_map246(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL3_H
#endif

View file

@ -74,4 +74,4 @@ static inline bool lex_normal_map485(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL30_H
#endif

View file

@ -80,4 +80,4 @@ static inline bool lex_normal_map530(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL31_H
#endif

View file

@ -82,4 +82,4 @@ static inline bool lex_normal_map535(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL32_H
#endif

View file

@ -83,4 +83,4 @@ static inline bool lex_normal_map540(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL33_H
#endif

View file

@ -82,4 +82,4 @@ static inline bool lex_normal_map880(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL34_H
#endif

View file

@ -80,4 +80,4 @@ static inline bool lex_normal_map885(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL35_H
#endif

View file

@ -81,4 +81,4 @@ static inline bool lex_normal_map890(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL36_H
#endif

View file

@ -80,4 +80,4 @@ static inline bool lex_normal_map895(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL37_H
#endif

View file

@ -81,4 +81,4 @@ static inline bool lex_normal_map900(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL38_H
#endif

View file

@ -80,4 +80,4 @@ static inline bool lex_normal_map905(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL39_H
#endif

View file

@ -81,4 +81,4 @@ static inline bool lex_normal_map251(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL4_H
#endif

View file

@ -82,4 +82,4 @@ static inline bool lex_normal_map910(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL40_H
#endif

View file

@ -80,4 +80,4 @@ static inline bool lex_normal_map915(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL41_H
#endif

View file

@ -79,4 +79,4 @@ static inline bool lex_normal_map920(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL42_H
#endif

View file

@ -78,4 +78,4 @@ static inline bool lex_normal_map925(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL43_H
#endif

View file

@ -82,4 +82,4 @@ static inline bool lex_normal_map930(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL44_H
#endif

View file

@ -80,4 +80,4 @@ static inline bool lex_normal_map935(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL45_H
#endif

View file

@ -63,4 +63,4 @@ static inline bool lex_normal_map939(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL46_H
#endif

View file

@ -82,4 +82,4 @@ static inline bool lex_normal_map256(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL5_H
#endif

View file

@ -80,4 +80,4 @@ static inline bool lex_normal_map261(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL6_H
#endif

View file

@ -82,4 +82,4 @@ static inline bool lex_normal_map266(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL7_H
#endif

View file

@ -80,4 +80,4 @@ static inline bool lex_normal_map271(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL8_H
#endif

View file

@ -81,4 +81,4 @@ static inline bool lex_normal_map276(t_lexer *lexer, \
return (advance_map_inner(map, sizeof(map) / sizeof(*map), \
lexer, s));
}
#endif // INLINE_IMPL9_H
#endif

View file

@ -990,4 +990,4 @@ bool lex_normal_s957(t_lexer *lexer, t_lexer_state *s);
bool lex_normal_s958(t_lexer *lexer, t_lexer_state *s);
bool lex_normal_default(t_lexer *lexer, t_lexer_state *s);
#endif // LEX_NORMAL_FUNCS_H
#endif

View file

@ -405,4 +405,4 @@ void lex_modes_381(t_lex_modes_array *v);
void lex_modes_382(t_lex_modes_array *v);
void lex_modes_383(t_lex_modes_array *v);
#endif // LEX_MODES_H
#endif

View file

@ -22,4 +22,4 @@
void non_terminal_alias_map_0(t_non_terminal_alias_map_array *v);
#endif // NON_TERMINAL_ALIAS_MAP_H
#endif

View file

@ -858,4 +858,4 @@ void parse_actions_entries_834(t_parse_actions_entries_array *v);
void parse_actions_entries_835(t_parse_actions_entries_array *v);
void parse_actions_entries_836(t_parse_actions_entries_array *v);
#endif // PARSE_ACTIONS_ENTRIES_H
#endif

View file

@ -2352,4 +2352,4 @@ void parse_table_2328(t_parse_table_array *v);
void parse_table_2329(t_parse_table_array *v);
void parse_table_2330(t_parse_table_array *v);
#endif // PARSE_TABLE_H
#endif

View file

@ -405,4 +405,4 @@ void primary_state_ids_381(t_primary_state_ids_array *v);
void primary_state_ids_382(t_primary_state_ids_array *v);
void primary_state_ids_383(t_primary_state_ids_array *v);
#endif // PRIMARY_STATE_IDS_H
#endif

View file

@ -16241,4 +16241,4 @@ void small_parse_table_16217(t_small_parse_table_array *v);
void small_parse_table_16218(t_small_parse_table_array *v);
void small_parse_table_16219(t_small_parse_table_array *v);
#endif // SMALL_PARSE_TABLE_H
#endif

View file

@ -379,4 +379,4 @@ void small_parse_table_map_355(t_small_parse_table_map_array *v);
void small_parse_table_map_356(t_small_parse_table_map_array *v);
void small_parse_table_map_357(t_small_parse_table_map_array *v);
#endif // SMALL_PARSE_TABLE_MAP_H
#endif

View file

@ -35,4 +35,4 @@ void symbols_metadata_11(t_symbols_metadata_array *v);
void symbols_metadata_12(t_symbols_metadata_array *v);
void symbols_metadata_13(t_symbols_metadata_array *v);
#endif // SYMBOLS_METADATA_H
#endif

View file

@ -35,4 +35,4 @@ void symbols_names_11(t_symbols_names_array *v);
void symbols_names_12(t_symbols_names_array *v);
void symbols_names_13(t_symbols_names_array *v);
#endif // SYMBOLS_NAMES_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_alias_sequences_array
t_symbol a[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH];
} t_alias_sequences_array;
#endif // TYPE_ALIAS_SEQUENCES_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_external_scanner_states_array
bool a[131][EXTERNAL_TOKEN_COUNT];
} t_external_scanner_states_array;
#endif // TYPE_EXTERNAL_SCANNER_STATES_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_external_scanner_symbol_map_array
t_symbol a[EXTERNAL_TOKEN_COUNT];
} t_external_scanner_symbol_map_array;
#endif // TYPE_EXTERNAL_SCANNER_SYMBOL_MAP_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_field_map_entries_array
t_field_map_entry a[287];
} t_field_map_entries_array;
#endif // TYPE_FIELD_MAP_ENTRIES_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_field_map_slices_array
t_field_map_slice a[PRODUCTION_ID_COUNT];
} t_field_map_slices_array;
#endif // TYPE_FIELD_MAP_SLICES_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_field_names_array
const char *a[20];
} t_field_names_array;
#endif // TYPE_FIELD_NAMES_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_lex_keywords_array
void *a[97];
} t_lex_keywords_array;
#endif // TYPE_LEX_KEYWORDS_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_lex_modes_array
t_lex_modes a[STATE_COUNT];
} t_lex_modes_array;
#endif // TYPE_LEX_MODES_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_lex_normal_array
void *a[959];
} t_lex_normal_array;
#endif // TYPE_LEX_NORMAL_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_non_terminal_alias_map_array
uint16_t a[5];
} t_non_terminal_alias_map_array;
#endif // TYPE_NON_TERMINAL_ALIAS_MAP_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_parse_actions_entries_array
t_parse_action_entry a[16731];
} t_parse_actions_entries_array;
#endif // TYPE_PARSE_ACTIONS_ENTRIES_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_parse_table_array
uint16_t a[LARGE_STATE_COUNT][SYMBOL_COUNT];
} t_parse_table_array;
#endif // TYPE_PARSE_TABLE_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_primary_state_ids_array
t_state_id a[STATE_COUNT];
} t_primary_state_ids_array;
#endif // TYPE_PRIMARY_STATE_IDS_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_small_parse_table_array
uint16_t a[324397];
} t_small_parse_table_array;
#endif // TYPE_SMALL_PARSE_TABLE_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_small_parse_table_map_array
uint32_t a[7143];
} t_small_parse_table_map_array;
#endif // TYPE_SMALL_PARSE_TABLE_MAP_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_symbols_metadata_array
t_symbol_metadata a[280];
} t_symbols_metadata_array;
#endif // TYPE_SYMBOLS_METADATA_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_symbols_names_array
const char *a[281];
} t_symbols_names_array;
#endif // TYPE_SYMBOLS_NAMES_H
#endif

View file

@ -24,4 +24,4 @@ typedef struct s_unique_symbols_map_array
t_symbol a[280];
} t_unique_symbols_map_array;
#endif // TYPE_UNIQUE_SYMBOLS_MAP_H
#endif

Some files were not shown because too many files have changed in this diff Show more