summaryrefslogtreecommitdiff
path: root/read.c
blob: 016ef62dd90b80daff7dc04a43c34d8dafac5da0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <string.h>
#include <stdio.h>

#include "read.h"

AstNode read() {
	AstNode ret;
	memset(&ret, 0, sizeof ret);
	pcc_context_t *ctx = pcc_create(NULL);
	pcc_parse(ctx, &ret);
	pcc_destroy(ctx);
	return ret;
}