zig/src/analyze.hpp

19 lines
336 B
C++
Raw Normal View History

2015-12-01 00:14:58 +08:00
/*
* 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;
2015-12-01 17:29:21 +08:00
struct AstNode;
struct Buf;
2015-12-01 00:14:58 +08:00
2015-12-01 13:53:37 +08:00
void semantic_analyze(CodeGen *g);
2015-12-01 17:29:21 +08:00
void add_node_error(CodeGen *g, AstNode *node, Buf *msg);
2015-12-01 00:14:58 +08:00
#endif