a bit of code cleaning on the parser

This commit is contained in:
Mthandazo Ndhlovu 2019-04-30 12:07:28 +02:00
parent ee59b79e75
commit 4bb3b45781
4 changed files with 7229 additions and 16 deletions

BIN
Archive.zip Normal file

Binary file not shown.

BIN
generator Executable file

Binary file not shown.

View File

@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/03/23 17:31:19 by tmaze #+# #+# */
/* Updated: 2019/04/29 12:14:34 by mndhlovu ### ########.fr */
/* Updated: 2019/04/30 08:23:04 by mndhlovu ### ########.fr */
/* */
/* ************************************************************************** */
@ -78,6 +78,7 @@ typedef struct s_holder
{
int count;
t_temp *data;
t_syntax *syntax;
} t_holder;
typedef struct s_rdata
@ -112,9 +113,8 @@ int lm_find_index(t_lmdata *data, char *str);
int lm_get_value(char *line);
void lm_get_cmd_vert(int count, t_syntax *synt
, t_lmdata *ldata, char *line);
void lm_get_vert_link(int count, t_syntax *synt
, t_lmdata *ldata, t_holder *holder
, char *line);
void lm_get_vert_link(int count, t_lmdata *ldata
, t_syntax *synt, t_holder *holder, char *line);
int lm_validate_rooms(char *name, char *x, char *y);
int lm_adj_parser(t_lmdata *lmdata, t_holder *holder);
void lm_init_data(t_syntax *synt, t_holder *holder

7237
map3

File diff suppressed because it is too large Load Diff