1struct environment;
2struct node;
3
4struct parseoptions {
5 _Bool dupbuildwarn;
6};
7
8void parseinit(void);
9void parse(const char *, struct environment *);
10
11extern struct parseoptions parseopts;
12
13/* supported ninja version */
14enum {
15 ninjamajor = 1,
16 ninjaminor = 9,
17};
18
19/* execute a function with all default nodes */
20void defaultnodes(void(struct node *));