summaryrefslogtreecommitdiff
path: root/src/lib/eval.c
blob: 0da90dbdd86382628963eefd1fc42e14cc0384ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "aplwc_internal.h"

struct aplwc_value *
eval_line(struct aplwc *aplwc, struct aplwc_line *line)
{
	struct aplwc_value *value;

	UNUSED_PARAMETER(line);

	assert(aplwc->last_error == APLWC_OK);

	value = memory_alloc_aplwc_value(aplwc);
	if(value != NULL)
		value->tag = VALUE_NULL;

	return value;
}