🏗️」 wip: Testing pipe check

This commit is contained in:
2024-07-29 20:46:17 +02:00
parent c3aad1290d
commit 59c03e8e42
12 changed files with 369 additions and 10 deletions

View File

@ -0,0 +1,25 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* check_wspace.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/29 19:18:19 by adjoly #+# #+# */
/* Updated: 2024/07/29 19:31:02 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#include "parsing.h"
#include "error_msg.h"
#include <stdio.h>
bool check_wspace(char *readline)
{
while (*readline && ft_isspace(*readline))
readline++;
if (!*readline)
return (send_error_parsing("Only white space in line"));
return (false);
}