Updated grammar

This commit is contained in:
Maix0 2024-07-02 21:01:18 +02:00
parent dcdefc2ac3
commit 63e1d5d05f
1136 changed files with 81301 additions and 91678 deletions

View file

@ -21,7 +21,7 @@
typedef struct s_external_scanner_states_array
{
bool a[61][EXTERNAL_TOKEN_COUNT];
bool a[63][EXTERNAL_TOKEN_COUNT];
} t_external_scanner_states_array;
#endif // TYPE_EXTERNAL_SCANNER_STATES_H

View file

@ -21,7 +21,7 @@
typedef struct s_field_map_entries_array
{
t_field_map_entry a[214];
t_field_map_entry a[225];
} t_field_map_entries_array;
#endif // TYPE_FIELD_MAP_ENTRIES_H

View file

@ -21,7 +21,7 @@
typedef struct s_field_names_array
{
const char *a[21];
const char *a[22];
} t_field_names_array;
#endif // TYPE_FIELD_NAMES_H

View file

@ -1,27 +0,0 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* type_lex_keywords.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* 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 */
/* */
/* ************************************************************************** */
#ifndef TYPE_LEX_KEYWORDS_H
# define TYPE_LEX_KEYWORDS_H
# include "../../parse_types.h"
# include "../headers/symbols.h"
# include "../headers/external_scanner_symbol_identifiers.h"
# include "../headers/field_identifiers.h"
# include "../headers/constants.h"
typedef struct s_lex_keywords_array
{
void *a[30];
} t_lex_keywords_array;
#endif // TYPE_LEX_KEYWORDS_H

View file

@ -1,27 +0,0 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* type_lex_normal.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* 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 */
/* */
/* ************************************************************************** */
#ifndef TYPE_LEX_NORMAL_H
# define TYPE_LEX_NORMAL_H
# include "../../parse_types.h"
# include "../headers/symbols.h"
# include "../headers/external_scanner_symbol_identifiers.h"
# include "../headers/field_identifiers.h"
# include "../headers/constants.h"
typedef struct s_lex_normal_array
{
void *a[491];
} t_lex_normal_array;
#endif // TYPE_LEX_NORMAL_H

View file

@ -21,7 +21,7 @@
typedef struct s_non_terminal_alias_map_array
{
uint16_t a[9];
uint16_t a[11];
} t_non_terminal_alias_map_array;
#endif // TYPE_NON_TERMINAL_ALIAS_MAP_H

View file

@ -21,7 +21,7 @@
typedef struct s_parse_actions_entries_array
{
t_parse_action_entry a[4127];
t_parse_action_entry a[4160];
} t_parse_actions_entries_array;
#endif // TYPE_PARSE_ACTIONS_ENTRIES_H

View file

@ -21,7 +21,7 @@
typedef struct s_small_parse_table_array
{
uint16_t a[83655];
uint16_t a[84019];
} t_small_parse_table_array;
#endif // TYPE_SMALL_PARSE_TABLE_H

View file

@ -21,7 +21,7 @@
typedef struct s_small_parse_table_map_array
{
uint32_t a[2116];
uint32_t a[2135];
} t_small_parse_table_map_array;
#endif // TYPE_SMALL_PARSE_TABLE_MAP_H

View file

@ -21,7 +21,7 @@
typedef struct s_symbols_metadata_array
{
t_symbol_metadata a[180];
t_symbol_metadata a[182];
} t_symbols_metadata_array;
#endif // TYPE_SYMBOLS_METADATA_H

View file

@ -21,7 +21,7 @@
typedef struct s_symbols_names_array
{
const char *a[181];
const char *a[183];
} t_symbols_names_array;
#endif // TYPE_SYMBOLS_NAMES_H

View file

@ -21,7 +21,7 @@
typedef struct s_unique_symbols_map_array
{
t_symbol a[180];
t_symbol a[182];
} t_unique_symbols_map_array;
#endif // TYPE_UNIQUE_SYMBOLS_MAP_H