aboutsummaryrefslogtreecommitdiff
path: root/src/as_analyzer.h
blob: 793d14adea2a01a8e5fc69d77938c1e23c31abdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef FVM_AS_ANALYZER_H_
#define FVM_AS_ANALYZER_H_

#include "as_parser.h"
#include "utils.h"

struct sym_table_entry;
struct sym_table {
    int size;
    int cap;
    struct sym_table_entry *buf;
};

struct sym_table analyze_prog(allocator_t alct, prog_t prog);

#endif // FVM_AS_ANALYZER_H_