summaryrefslogtreecommitdiff
path: root/gate.c
blob: 8ddb8bd50e8a24797c53cc0d325ecffe74d855df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include <string.h>
#include <stdlib.h>

#include "gate.h"
#include "error.h"

int
gate_add(enum TOKEN_TYPE op, char *name, char *left, char *right) {
	/* FIXME */
	(void) op;
	fprintf(stderr, "bop on %s and %s for gate %s not implemented\n", left, right, name);
	return 1;
}

int
gate_input_add(char *name) {
	/* FIXME */
	(void)name;
	return 1;
}

int
tick(void) {
	/* FIXME */
	return 1;
}

void
gate_dump(void) {
	/* FIXME */
	emit_error("FIXME\n");
}