code cleaning done on 80 percent of the parser functions, whats left is to re structure the syntax struct and do furthure tests to eliminate level 0 errors

This commit is contained in:
Mthandazo Ndhlovu
2019-04-29 12:47:14 +02:00
parent 6ad8cd2d95
commit a51c8ad81d
17 changed files with 389 additions and 355 deletions

View File

@@ -6,7 +6,7 @@
/* By: tmaze <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/04/04 11:33:35 by tmaze #+# #+# */
/* Updated: 2018/04/04 11:34:10 by tmaze ### ########.fr */
/* Updated: 2019/04/29 11:16:40 by mndhlovu ### ########.fr */
/* */
/* ************************************************************************** */

View File

@@ -6,7 +6,7 @@
/* By: mndhlovu <mndhlovu@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/04/26 10:17:04 by mndhlovu #+# #+# */
/* Updated: 2019/04/26 10:35:46 by mndhlovu ### ########.fr */
/* Updated: 2019/04/29 11:20:54 by mndhlovu ### ########.fr */
/* */
/* ************************************************************************** */
@@ -17,6 +17,8 @@ int ft_isnumeric(char *str)
int index;
index = 0;
if (str[index] == '-' || str[index] == '+')
index++;
while (str[index] != '\0')
{
if (!ft_isdigit(str[index]))