summaryrefslogtreecommitdiffstats
path: root/src/code-generation.c
diff options
context:
space:
mode:
authorkugwa <kugwa2000@gmail.com>2015-12-30 15:19:51 +0800
committerkugwa <kugwa2000@gmail.com>2015-12-30 15:19:51 +0800
commit0c0c7ab0850b6803c377ad7150305870d75bf3c0 (patch)
treed2bcb8109870d9d3e4254c0f8b6aade427399fa4 /src/code-generation.c
parent9cb1a75a6772b2c4bdb895f724b40d00290ffa0d (diff)
downloadcompiler2015-0c0c7ab0850b6803c377ad7150305870d75bf3c0.tar.gz
compiler2015-0c0c7ab0850b6803c377ad7150305870d75bf3c0.tar.zst
compiler2015-0c0c7ab0850b6803c377ad7150305870d75bf3c0.zip
Add the code-generation phase
Diffstat (limited to 'src/code-generation.c')
-rw-r--r--src/code-generation.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/code-generation.c b/src/code-generation.c
new file mode 100644
index 0000000..c0c5874
--- /dev/null
+++ b/src/code-generation.c
@@ -0,0 +1,13 @@
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include "code-generation.h"
+
+#include <assert.h>
+#include <stdio.h>
+#include <stdlib.h>
+
+void ccmmc_code_generation(CcmmcAst *root, CcmmcSymbolTable *table, FILE *asm_output)
+{
+}