aboutsummaryrefslogtreecommitdiff
path: root/sem1/osc/miniproject/cnasm/codegen.h
blob: 24ad6c40b70302a0c0c9afa2cca4f54f22ae794a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef CODEGEN_HEADER
#define CODEGEN_HEADER

#include <stdio.h>
#include "ast.h"

struct genctx {
	unsigned int nested;
};

void gentree(FILE *f, struct genctx *ctx, ast_node_t *n);

#endif