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:
@@ -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 */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
@@ -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]))
|
||||
|
Reference in New Issue
Block a user