Amaan Qureshi
41c0a15e09
fix: make preproc newlines immediate so they don't span excess trailing newliens
2023-07-24 05:23:19 +07:00
Amaan Qureshi
5890e77d2d
fix: disallow `/` after `\S` to better handle comments in preproc_arg
2023-07-24 05:05:28 +07:00
Amaan Qureshi
f3559c6cb4
fix: swap precedences of assignnment and conditional expressions
...
`a *= b != c ? d : e;` is parsed incorrectly as a result
2023-07-24 04:17:56 +07:00
Amaan Qureshi
2c7aff437d
Merge pull request #216 from amaanq/update
...
Update grammar from changes in C
2023-07-24 00:21:14 +07:00
Stephan Seitz
b050649c68
refactor: remove unused function `skip` in scanner ( #215 )
2023-07-23 22:39:58 +07:00
Amaan Qureshi
745ad8f5dd
chore: generate
2023-07-23 22:49:10 +07:00
Amaan Qureshi
7ce69cb41d
fix: remove `_typedef_type_specifier`, use git version of tree-sitter-c
2023-07-23 22:47:15 +07:00
Amaan Qureshi
fcd123005b
Merge pull request #155 from amaanq/fix-attribute
...
feat: add `attribute_specifier` to struct
2023-07-23 22:32:36 +07:00
Amaan Qureshi
0dd318d271
fix: update `if_statement` to align with C
2023-07-23 22:31:45 +07:00
Wilfred Hughes
a525196635
Update crossterm version
...
This provides some minor bugfixes for Windows width detection:
https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md
2023-07-23 10:32:49 +07:00
Amaan Qureshi
7f176cd8ba
0.20.3
2023-07-22 23:11:10 +07:00
Amaan Qureshi
45a690442c
Merge pull request #230 from amaanq/prepare-release
...
Prepare release
2023-07-22 23:10:51 +07:00
Amaan Qureshi
10ee7b0ba2
ci: add fuzz, lint, and release workflow, update CI action versions
2023-07-22 22:24:25 +07:00
Amaan Qureshi
a61254cb56
feat: highlight more augmented assigments
2023-07-22 22:14:22 +07:00
Amaan Qureshi
34c37b1779
chore: update manifests
2023-07-22 22:14:22 +07:00
Amaan Qureshi
eaada6f11f
feat: add eslint, apply formatting, & add code docs
2023-07-22 22:14:22 +07:00
Amaan Qureshi
4b6e0bc97b
feat: add `attribute_specifier` to struct
2023-07-22 05:48:59 +07:00
Amaan Qureshi
475dc3bb84
Merge pull request #152 from amaanq/typedef-fixes
...
Typedef fixes
2023-07-21 12:39:30 +07:00
Wilfred Hughes
1b9844cd60
Add sliders to the glossary
...
Fixes #537
2023-07-21 08:39:53 +07:00
Wilfred Hughes
4e9637c861
Check more bytes when detecting encoding
...
I've observed PDF files that have sufficiently large headers that they
were detected as text, which wasn't helpful.
Also improve logging to report how many invalid bytes were found.
2023-07-21 08:34:41 +07:00
Wilfred Hughes
1c0b3153df
Fix typo
2023-07-21 08:32:17 +07:00
Wilfred Hughes
4f750ec359
Clarify how to find language names in argument help
2023-07-21 08:23:36 +07:00
Amaan Qureshi
349f3bb3f4
chore: generate & update test
2023-07-21 05:34:34 +07:00
Amaan Qureshi
4c49fc3883
fix: rework typedef specifiers again
2023-07-21 05:34:34 +07:00
Wilfred Hughes
2d23eb549d
Document the new LaTeX support
2023-07-20 23:05:18 +07:00
Wilfred Hughes
685a2ef8d5
Merge remote-tracking branch 'grunweg/master'
2023-07-20 22:41:56 +07:00
Amaan Qureshi
cbb9974efd
0.20.1
2023-07-18 17:47:27 +07:00
Amaan Qureshi
8dc2b30756
Merge pull request #213 from amaanq/update-c
...
Update c
2023-07-18 17:46:21 +07:00
Amaan Qureshi
0e3608113e
ci: rework publish action to publish to both npm and crates.io, with logic to fail if the version bump is incorrect
2023-07-18 17:39:47 +07:00
Amaan Qureshi
a702543247
chore: generate
2023-07-18 17:32:40 +07:00
Amaan Qureshi
7d975cd142
chore: update tests and queries
2023-07-18 17:32:40 +07:00
Amaan Qureshi
03aec3de1f
chore: update C to v0.20.3
2023-07-18 17:32:40 +07:00
Amaan Qureshi
262ce4488e
ci: add steps to publish to npm as well
2023-07-18 17:08:57 +07:00
Amaan Qureshi
28df2e958e
0.20.3
2023-07-18 17:05:39 +07:00
Amaan Qureshi
9a2e3664bc
Merge pull request #150 from amaanq/fixes
...
Some minor fixes
2023-07-18 17:03:03 +07:00
Amaan Qureshi
84c6744e0e
chore: generate
2023-07-18 17:00:46 +07:00
Amaan Qureshi
5b08b70f2b
chore: update & add tests
2023-07-18 16:59:38 +07:00
Amaan Qureshi
60544dbdd2
Revert "fix: rework top level function definition pointer association"
...
This reverts commit eb6649e0c2 .
2023-07-18 16:59:38 +07:00
Amaan Qureshi
0ca9561fef
fix: mostly correct sized_type_specifiers in type definitions
2023-07-18 15:58:29 +07:00
Amaan Qureshi
929e52f2d4
feat: add attribute_specifier to the end of struct, union, enum, and field_declaration
2023-07-18 15:58:29 +07:00
Amaan Qureshi
1e6557a90d
fix: allow numbers in preproc_directive
2023-07-18 15:58:29 +07:00
Amaan Qureshi
5c2cb95140
Merge pull request #146 from amaanq/decl-binop-conflict
...
fix: rework translation-unit top-level items to disallow binary expressions & rework top level function definition pointer association
2023-07-18 15:56:32 +07:00
Amaan Qureshi
0df358adfb
chore: generate
2023-07-18 15:49:55 +07:00
Amaan Qureshi
35595638e2
chore: add tests
2023-07-18 15:49:55 +07:00
Amaan Qureshi
eb6649e0c2
fix: rework top level function definition pointer association
...
Previously, pointers were associated with the function identifier, now they're associated with the return type
2023-07-18 15:49:55 +07:00
Amaan Qureshi
34db9e4b29
fix: rework true top-level items to disallow binary expressions
...
This resolves conflicts with declarations that can be interpreted as binary_expressions
2023-07-18 15:46:37 +07:00
Alan Zimmerman
7aa24fe861
apply Apache2 only license to tree-sitter-erlang
...
Summary:
tree-sitter-erlang is Apache2 licensed, to match the original upstream.
But the ELP license lint setup incorrectly applied dual MIT/APACHE2 headers to the files.
Correct this
Reviewed By: perehonchuk
Differential Revision: D47516377
fbshipit-source-id: e305b044813ec127f35c488b26ad13042aaedd58
2023-07-18 09:24:11 +07:00
Amaan Qureshi
51cd29c3d1
Merge pull request #148 from amaanq/c23-baby
...
feat: C23
2023-07-17 23:41:22 +07:00
Amaan Qureshi
c75868f8b5
feat: C23
2023-07-17 22:44:10 +07:00
Amaan Qureshi
b99d137fd7
Merge pull request #149 from amaanq/typedef-qual
...
feat: allow type_qualifiers after typedef specifier, alias char content
2023-07-17 06:06:03 +07:00