Files
swift-mirror/tools/libSwiftSyntaxParser/c-include-check.c
Argyrios Kyrtzidis 1dc288fb23 Introduce C parser library
Add a shared library with a C API that provides access to the syntactic parser with callbacks for the inference of raw syntax nodes.
This is primarily intended to be used by SwiftSyntax to speed-up source code parsing for it.
2019-01-09 18:30:45 -08:00

6 lines
228 B
C

// This file serves as a sanity check to ensure that the header is parseable
// from C and that no C++ code has sneaked in.
#include "swift-c/SyntaxParser/SwiftSyntaxParser.h"
typedef swiftparse_syntax_node_t _check_it_exists;