aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc/source-parser.h
blob: 8672fb077c41a0ec4dea13c4ae87b2d8add733ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * blogc: A blog compiler.
 * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
 *
 * This program can be distributed under the terms of the BSD License.
 * See the file LICENSE.
 */

#ifndef _SOURCE_PARSER_H
#define _SOURCE_PARSER_H

#include <stddef.h>
#include "../common/error.h"
#include "../common/utils.h"

bc_trie_t* blogc_source_parse(const char *src, size_t src_len,
    bc_error_t **err);

#endif /* _SOURCE_PARSER_H */