2016-01-19 12:28:54 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2015 Andrew Kelley
|
|
|
|
*
|
|
|
|
* This file is part of zig, which is MIT licensed.
|
|
|
|
* See http://opensource.org/licenses/MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2017-09-06 10:55:03 +08:00
|
|
|
#ifndef ZIG_PARSEC_HPP
|
|
|
|
#define ZIG_PARSEC_HPP
|
2016-01-19 12:28:54 +08:00
|
|
|
|
2016-01-27 15:01:49 +08:00
|
|
|
#include "all_types.hpp"
|
2016-01-19 12:28:54 +08:00
|
|
|
|
2016-01-31 16:20:47 +08:00
|
|
|
int parse_h_file(ImportTableEntry *import, ZigList<ErrorMsg *> *errors, const char *target_file,
|
|
|
|
CodeGen *codegen, AstNode *source_node);
|
|
|
|
|
|
|
|
int parse_h_buf(ImportTableEntry *import, ZigList<ErrorMsg *> *errors, Buf *source,
|
|
|
|
CodeGen *codegen, AstNode *source_node);
|
2016-01-19 12:28:54 +08:00
|
|
|
|
|
|
|
#endif
|