aboutsummaryrefslogtreecommitdiff
path: root/smash/parser.h
blob: 60b344ecf04032496e9119569b18c5fb9b7961e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef PARSER_H
#define PARSER_H

#include "../lib/sys/sizes.h"

typedef struct expression_list_t__ {
	char                       *call;
	struct expression_list_t__ *next;
} expression_list_t;

expression_list_t *new_expression_from_line(char *line);
void              free_expression(expression_list_t *expression);
char              **new_argv(char *exp);
void              free_argv(char **argv);

#endif