aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.hpp
blob: 110a3614e0071d7c7e3154b3643058266df08dfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2015 Andrew Kelley
 *
 * This file is part of zig, which is MIT licensed.
 * See http://opensource.org/licenses/MIT
 */

#ifndef ZIG_ANALYZE_HPP
#define ZIG_ANALYZE_HPP

struct CodeGen;
struct AstNode;
struct Buf;

void semantic_analyze(CodeGen *g);
void add_node_error(CodeGen *g, AstNode *node, Buf *msg);

#endif