Patrick Thomson
|
6256110bd2
|
simplest changes, just error in the build
|
2020-09-02 13:31:29 -04:00 |
|
Max Brunsfeld
|
87df53a99b
|
Merge pull request #716 from bfredl/fallthrough
avoid warnings for implicit fallthrough in switch statements
|
2020-08-26 10:02:00 -07:00 |
|
Björn Linse
|
04eacc44ef
|
avoid warnings for implicit fallthrough in switch statements
|
2020-08-26 10:04:08 +02:00 |
|
Max Brunsfeld
|
55030afd13
|
Merge pull request #715 from bfredl/ubsan-warnings
Fix a few cases of Clang 10 with UBSAN detecting undefined behavior
|
2020-08-25 11:16:08 -07:00 |
|
Björn Linse
|
00c470ab2a
|
Fix a few cases of Clang 10 with UBSAN detecting undefined behavior
Clang 10 considers adding any offset, including 0, to the null pointer
to be undefined behavior. `(void *)NULL + 0 = kaboom`.
|
2020-08-25 19:34:44 +02:00 |
|
Patrick Thomson
|
d5576e306c
|
Merge pull request #708 from tree-sitter/add-tagger-error-detection
Add ts_tags_buffer_found_parse_error capabilities for error detection during tagging.
|
2020-08-05 14:07:31 -04:00 |
|
Patrick Thomson
|
8d58a0d33a
|
Add parameter in the header.
|
2020-08-05 13:10:02 -04:00 |
|
Max Brunsfeld
|
f91b19c089
|
tags, highlight: Avoid completely deallocating buffers when shrinking
|
2020-08-05 09:57:45 -07:00 |
|
Patrick Thomson
|
49be94f069
|
Merge remote-tracking branch 'origin/master' into add-tagger-error-detection
|
2020-08-05 12:44:26 -04:00 |
|
Patrick Thomson
|
ec6af791af
|
Bikeshed this name a little bit.
|
2020-08-05 12:24:39 -04:00 |
|
Patrick Thomson
|
7576b0b448
|
Add accessor to the C header.
|
2020-08-05 12:21:42 -04:00 |
|
Patrick Thomson
|
94ab884ee4
|
Add a test.
|
2020-08-05 12:16:09 -04:00 |
|
Max Brunsfeld
|
32f69dbe15
|
tags, highlight: Limit the size of buffers that are retained in memory
|
2020-08-05 09:06:00 -07:00 |
|
Patrick Thomson
|
5c86a9c654
|
Fix the tests
|
2020-08-05 11:52:07 -04:00 |
|
Patrick Thomson
|
f4108056b0
|
Remove otiose pattern match.
|
2020-08-05 11:33:04 -04:00 |
|
Patrick Thomson
|
5a52dc2cd7
|
Return an iterator-bool tuple instead of just an iterator.
|
2020-08-05 11:18:59 -04:00 |
|
Patrick Thomson
|
1a571ae208
|
Add errors_present field to tagging context.
|
2020-08-04 17:53:47 -04:00 |
|
Max Brunsfeld
|
af655547e5
|
Fix handling of queries with many patterns with leading repetitions
|
2020-07-31 12:47:58 -07:00 |
|
Max Brunsfeld
|
f265e63d48
|
tags: Allow def or ref node to be a sibling of the name node
|
2020-07-30 13:35:04 -07:00 |
|
Max Brunsfeld
|
411f69d13b
|
query: Optimize 'longest-match' filtering
|
2020-07-30 13:34:34 -07:00 |
|
Max Brunsfeld
|
df5510acfc
|
query: Remove limit on number of in-progress states
|
2020-07-30 12:59:34 -07:00 |
|
Max Brunsfeld
|
e89a19a158
|
tags: Add @ignore capture
|
2020-07-29 15:33:48 -07:00 |
|
Max Brunsfeld
|
4ec7d80968
|
Mention rule order as the fallback criteria in docs
Fixes #702
|
2020-07-29 10:04:21 -07:00 |
|
Max Brunsfeld
|
6941217c46
|
Merge pull request #696 from ret2libc/printf-sizet-format
size_t variables need %zu, not %lu
|
2020-07-29 09:56:07 -07:00 |
|
Max Brunsfeld
|
9a7fdd29c2
|
Add test for non-terminal extras that share non-extra rules
|
2020-07-29 09:53:07 -07:00 |
|
Max Brunsfeld
|
81bbdf19f4
|
Fix handling of non-terminal extras that share non-extra rules
Fixes #701
|
2020-07-29 09:50:13 -07:00 |
|
Max Brunsfeld
|
253f23c3d4
|
Fix error when parse error occurs after non-terminal extra
|
2020-07-28 13:33:13 -07:00 |
|
Max Brunsfeld
|
ed8fdadaee
|
Merge pull request #698 from stsewd/document-set
Docs: document the `set!` predicate
|
2020-07-28 10:31:16 -07:00 |
|
Santos Gallegos
|
d22240591c
|
Docs: document the set! predicate
I was looking for something like this,
I searched the documentation,
but I found it in https://github.com/tree-sitter/tree-sitter-javascript/blob/master/queries/injections.scm#L15
|
2020-07-27 17:38:32 -05:00 |
|
Max Brunsfeld
|
1ae5cbc851
|
query: Handle #not-match? in rust, wasm bindings
|
2020-07-24 12:15:23 -07:00 |
|
Max Brunsfeld
|
32099050d6
|
node_types: Fix panic when field is associated with a hidden token
Fixes #695
|
2020-07-24 09:26:56 -07:00 |
|
Max Brunsfeld
|
de2b71d465
|
Fix query bug when max permutations are exceeded
|
2020-07-23 16:05:50 -07:00 |
|
Riccardo Schirone
|
a3b440b0c8
|
size_t variables need %zu, not %lu
|
2020-07-23 09:48:18 +02:00 |
|
Max Brunsfeld
|
ba70927f57
|
tags: Skip tags with a parse error inside the name
|
2020-07-20 16:47:07 -07:00 |
|
Max Brunsfeld
|
1b8426bb65
|
Merge pull request #692 from ubolonton/query-dot-predicate
Add '.' as a valid start of a query predicate, in addition to '#'
|
2020-07-19 14:25:56 -07:00 |
|
Tuấn-Anh Nguyễn
|
740d864e67
|
Add '.' as a valid start of a predicate, in addition to '#'
See https://github.com/ubolonton/emacs-tree-sitter/issues/38
|
2020-07-19 15:46:39 +07:00 |
|
Max Brunsfeld
|
82aa1462fd
|
Clean up get_variable_info function
|
2020-07-17 15:12:13 -07:00 |
|
Max Brunsfeld
|
12341dbbc0
|
0.16.9
|
2020-07-17 14:23:54 -07:00 |
|
Max Brunsfeld
|
c4fca5f73e
|
node types: Fix handling of repetitions inside of fields
Fixes #676
|
2020-07-17 14:19:59 -07:00 |
|
Max Brunsfeld
|
f4adf0269a
|
Propagate dynamic precedence correctly for inlined rules
Fixes #683
|
2020-07-17 09:53:01 -07:00 |
|
Max Brunsfeld
|
4535efce69
|
query: Prevent dropping of matches when exceeding range maximum
Fixes #685
|
2020-07-17 09:39:06 -07:00 |
|
Max Brunsfeld
|
91a715799e
|
Accept a paths file to most CLI subcommands
|
2020-07-14 15:04:39 -07:00 |
|
Max Brunsfeld
|
32bb2e5add
|
Merge pull request #684 from ubolonton/cli-query-byte-range
Add --byte-range flag to query command
|
2020-07-13 15:22:47 -07:00 |
|
Tuấn-Anh Nguyễn
|
c2fb0f5229
|
cli: Add --byte-range flag to query command
|
2020-07-12 20:47:23 +07:00 |
|
Max Brunsfeld
|
0c2dc4c1e9
|
Merge pull request #648 from tree-sitter/tagging-improvements
Tagging improvements
|
2020-07-10 13:48:23 -07:00 |
|
Max Brunsfeld
|
e4e785b567
|
Remove unused flags from tags CLI command
|
2020-07-10 13:47:56 -07:00 |
|
Max Brunsfeld
|
4d09c81577
|
highlight: Avoid accidentally treating locals patterns as highlight patterns
|
2020-07-10 13:33:04 -07:00 |
|
Max Brunsfeld
|
0bfd47e2e5
|
Improve error message when failing to run graphviz stuff
Fixes #682
|
2020-07-10 10:13:19 -07:00 |
|
Max Brunsfeld
|
6cee04350f
|
tags: Expose utf16 column range to C API
|
2020-07-09 13:39:47 -07:00 |
|
Max Brunsfeld
|
9e38fd9f5c
|
Add todo comment for LossyUtf8 iterator
|
2020-07-09 12:32:40 -07:00 |
|