-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_parser.c
26 lines (23 loc) · 1.08 KB
/
run_parser.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* run_parser.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: qle-guen <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/10/19 14:31:06 by qle-guen #+# #+# */
/* Updated: 2016/10/19 15:36:21 by qle-guen ### ########.fr */
/* */
/* ************************************************************************** */
#include "libparse.h"
char *run_parser(char *fmt, char *inp)
{
t_parg dum;
(void)inp;
dum.c = 0;
fmt = RUNUNI(uni(&uni_manyrange
, cons(&space, dum)
, parg_range(-1, 0))
, fmt);
return (fmt);
}