aboutsummaryrefslogtreecommitdiff
path: root/code/tools/lcc/src/bind.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/tools/lcc/src/bind.c')
-rw-r--r--code/tools/lcc/src/bind.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/code/tools/lcc/src/bind.c b/code/tools/lcc/src/bind.c
new file mode 100644
index 0000000..bc7b983
--- /dev/null
+++ b/code/tools/lcc/src/bind.c
@@ -0,0 +1,8 @@
+#include "c.h"
+extern Interface nullIR;
+extern Interface bytecodeIR;
+Binding bindings[] = {
+ { "null", &nullIR },
+ { "bytecode", &bytecodeIR },
+ { NULL, NULL },
+};