aboutsummaryrefslogtreecommitdiff
path: root/sem3/osc/miniproject/cnasm/codegen.h
blob: 14c68fee0efa6f2bf228d887ddc1cb0c14465ceb (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