blob: 9c23e0fb0e4ed670abd3d95e8ac9875bcb575cb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef PARSER_H
#define PARSER_H
#include "../lib/sys/sizes.h"
typedef struct {
const char *head;
const char **args;
} expression_t;
typedef struct expression_list_t__ {
expression_t expression;
struct expression_list_t__ *next;
} expression_list_t;
expression_list_t *new_expression_from_line(char *line);
void free_expression(expression_list_t *expression);
#endif
|