tree-sitter/lib/src/lib.c
Max Brunsfeld a85ed086cc Define UTF8PROC_STATIC macro in the source
This way, there's one less flag you have to pass when building the
library on windows.
2019-02-06 10:42:29 -08:00

20 lines
476 B
C

// The Tree-sitter library can be built by compiling this one source file.
//
// The following directories must be added to the include path:
// - include
// - utf8proc
#define _POSIX_SOURCE
#define UTF8PROC_STATIC
#include "./get_changed_ranges.c"
#include "./language.c"
#include "./lexer.c"
#include "./node.c"
#include "./parser.c"
#include "./stack.c"
#include "./subtree.c"
#include "./tree_cursor.c"
#include "./tree.c"
#include "./utf16.c"
#include "utf8proc.c"