Skip to content

Commit f08e7d4

Browse files
Hygnastsewd
Hygna
authored andcommitted
Use 'relative' paths for imports
So that these grammars can be built with non-npm methods
1 parent a37ca37 commit f08e7d4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/tree_sitter_comment/chars.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "tree_sitter_comment/chars.h"
1+
#include "chars.h"
22

33
bool is_upper(int32_t c)
44
{

src/tree_sitter_comment/parser.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#include "tree_sitter_comment/parser.h"
1+
#include "parser.h"
22

3-
#include "tree_sitter_comment/chars.c"
4-
#include "tree_sitter_comment/tokens.h"
3+
#include "chars.c"
4+
#include "tokens.h"
55

66
/// Parse the name of the tag.
77
///

0 commit comments

Comments
 (0)