Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
build(gitmodules): fetch submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
itsaky committed Sep 25, 2023
1 parent 7421e2c commit b8fa96a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion android-tree-sitter/src/main/cpp/ts_query_cursor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Java_com_itsaky_androidide_treesitter_TSQueryCursor_00024Native_nextMatch(
TSQueryMatch m;
bool b = ts_query_cursor_next_match((TSQueryCursor *)cursor, &m);
if (!b) {
return NULL;
return nullptr;
}
return _marshalMatch(env, m);
}
Expand Down
2 changes: 1 addition & 1 deletion grammars/java
2 changes: 1 addition & 1 deletion grammars/kotlin
2 changes: 1 addition & 1 deletion grammars/xml
2 changes: 1 addition & 1 deletion tree-sitter-lib
Submodule tree-sitter-lib updated 98 files
+63 −54 .github/workflows/build.yml
+3 −2 .github/workflows/sanitize.yml
+1 −0 .gitignore
+173 −114 Cargo.lock
+9 −1 Cargo.toml
+16 −9 Makefile
+3 −3 build.zig
+4 −2 cli/Cargo.toml
+3 −2 cli/config/Cargo.toml
+4 −2 cli/config/README.md
+1 −1 cli/config/src/lib.rs
+2 −1 cli/loader/Cargo.toml
+2 −2 cli/loader/README.md
+168 −55 cli/loader/src/lib.rs
+15 −5 cli/npm/dsl.d.ts
+18 −0 cli/src/generate/build_tables/build_parse_table.rs
+6 −6 cli/src/generate/build_tables/token_conflicts.rs
+5 −1 cli/src/generate/dsl.js
+38 −26 cli/src/generate/mod.rs
+4 −4 cli/src/generate/node_types.rs
+16 −1 cli/src/generate/parse_grammar.rs
+132 −65 cli/src/generate/prepare_grammar/expand_tokens.rs
+6 −6 cli/src/generate/prepare_grammar/extract_tokens.rs
+144 −86 cli/src/generate/render.rs
+3 −3 cli/src/generate/rules.rs
+6 −7 cli/src/highlight.rs
+6 −0 cli/src/lib.rs
+83 −19 cli/src/main.rs
+27 −12 cli/src/parse.rs
+34 −27 cli/src/playground.rs
+27 −1 cli/src/query_testing.rs
+98 −24 cli/src/test.rs
+64 −93 cli/src/test_highlight.rs
+5 −1 cli/src/test_tags.rs
+279 −0 cli/src/tests/async_context_test.rs
+22 −5 cli/src/tests/corpus_test.rs
+9 −2 cli/src/tests/helpers/allocations.rs
+11 −6 cli/src/tests/helpers/dirs.rs
+11 −3 cli/src/tests/helpers/fixtures.rs
+1 −1 cli/src/tests/helpers/query_helpers.rs
+138 −62 cli/src/tests/highlight_test.rs
+95 −0 cli/src/tests/language_test.rs
+4 −0 cli/src/tests/mod.rs
+104 −0 cli/src/tests/parser_hang_test.rs
+86 −7 cli/src/tests/parser_test.rs
+314 −57 cli/src/tests/query_test.rs
+28 −22 cli/src/tests/tags_test.rs
+8 −14 cli/src/tests/test_highlight_test.rs
+5 −12 cli/src/tests/test_tags_test.rs
+173 −0 cli/src/tests/text_provider_test.rs
+44 −1 cli/src/tests/tree_test.rs
+1 −1 docs/Gemfile.lock
+121 −23 docs/section-2-using-parsers.md
+1 −1 docs/section-3-creating-parsers.md
+17 −2 docs/section-4-syntax-highlighting.md
+11 −20 highlight/README.md
+2 −1 highlight/include/tree_sitter/highlight.h
+128 −51 highlight/src/c_lib.rs
+73 −16 highlight/src/lib.rs
+1 −1 lib/Cargo.toml
+270 −157 lib/binding_rust/bindings.rs
+44 −1 lib/binding_rust/build.rs
+37 −15 lib/binding_rust/ffi.rs
+648 −347 lib/binding_rust/lib.rs
+3 −1 lib/binding_rust/util.rs
+52 −0 lib/binding_web/binding.c
+177 −11 lib/binding_web/binding.js
+25 −1 lib/binding_web/exports.json
+43 −0 lib/binding_web/test/language-test.js
+62 −0 lib/binding_web/test/node-test.js
+11 −11 lib/binding_web/test/parser-test.js
+44 −0 lib/binding_web/test/tree-test.js
+24 −1 lib/binding_web/tree-sitter-web.d.ts
+305 −145 lib/include/tree_sitter/api.h
+3 −3 lib/include/tree_sitter/parser.h
+7 −7 lib/src/alloc.c
+6 −4 lib/src/array.h
+11 −2 lib/src/atomic.h
+71 −0 lib/src/language.c
+3 −23 lib/src/language.h
+3 −1 lib/src/lexer.c
+30 −0 lib/src/node.c
+4 −0 lib/src/parser.c
+15 −19 lib/src/query.c
+17 −3 lib/src/stack.c
+5 −5 lib/src/subtree.c
+0 −6 lib/src/subtree.h
+153 −3 lib/src/tree_cursor.c
+2 −2 script/fetch-fixtures
+2 −2 script/fetch-fixtures.cmd
+3 −12 script/generate-bindings
+1 −1 tags/README.md
+110 −24 tags/src/c_lib.rs
+3 −1 tags/src/lib.rs
+4 −4 test/fixtures/error_corpus/javascript_errors.txt
+0 −0 test/fixtures/test_grammars/get_col_should_hang_not_crash/corpus.txt
+13 −0 test/fixtures/test_grammars/get_col_should_hang_not_crash/grammar.js
+17 −0 test/fixtures/test_grammars/get_col_should_hang_not_crash/scanner.c

0 comments on commit b8fa96a

Please sign in to comment.