Amaan Qureshi
317e374655
feat: allow compound statements in parenthesized expressions
vor 1 Jahr
Amaan Qureshi
069545cb72
feat: allow declarations in labeled statements
vor 1 Jahr
Amaan Qureshi
927da1f210
fix(go): correct test
vor 1 Jahr
ObserverOfTime
fd3e67ac62
chore: fix line endings
vor 1 Jahr
Amaan Qureshi
77e57f5328
feat: support `__asm` in asm expressions
vor 1 Jahr
Amaan Qureshi
0f1658320e
feat: support the `_Nonnull` clang attribute
vor 1 Jahr
Amaan Qureshi
be23d2c9d8
chore: generate
vor 2 Jahren
Amaan Qureshi
deca017a55
0.21.4
vor 2 Jahren
Amaan Qureshi
64483e84b1
refactor: unhide supertype nodes
vor 2 Jahren
touzeauv
695779e82f
feat: support the `alignas` type qualifier
Co-authored-by: Valentin Touzeau <tree-sitter.github@valentintouzeau.fr>
vor 2 Jahren
Amaan Qureshi
b8570770eb
feat: support `static` in array declarations
vor 2 Jahren
Amaan Qureshi
00ed08f1a6
0.21.3
vor 2 Jahren
Amaan Qureshi
189e460b4a
build: update dependencies
vor 2 Jahren
Amaan Qureshi
0442c3cdfe
0.21.2
vor 2 Jahren
Amaan Qureshi
c2b5837cd0
fix: remove the unnecessary `seq` around variadic_parameter
vor 2 Jahren
Amaan Qureshi
82fb86aa54
chore: regenerate
vor 2 Jahren
Amaan Qureshi
1aafaff4d2
build: update bindings
vor 2 Jahren
Amaan Qureshi
04a59ee59f
ci: add dependabot
vor 2 Jahren
Amaan Qureshi
036537490b
fix(build): repo url & pyproject authors
vor 2 Jahren
Amaan Qureshi
5c3ab3a9ef
chore: rename publish workflow
vor 2 Jahren
ObserverOfTime
d33e20be29
ci: update workflows
vor 2 Jahren
Valentin Touzeau
ff7f769c2d
fix: correctly handle preproc alternatives
This commit merges functions "elseBlock" and "elifBlock" in a single
function "alternativeBlock". Any call to either function is replaced by
a call to "alternativeBlock", which cover all alternatives (elif,
elifdef and else). The goal is twofold:
1) Correct the grammar to allow all kind of alternatives independently
of the "if" directive. Before the fix, "#if" alternative was
generated by elseBlock only, and thus disallow "#elifdef" as a
follow-up.
2) As a side effect, simplify the parser.
vor 2 Jahren
Amaan Qureshi
72084f447c
fix: crlf test
vor 2 Jahren
Amaan Qureshi
371fd0bf06
docs: add pypi badge
vor 2 Jahren
Amaan Qureshi
b125bec9b3
build: update makefile for macos installation
vor 2 Jahren
ObserverOfTime
70c0ddee61
ci: update workflows
vor 2 Jahren
ObserverOfTime
db11e91889
build: update bindings and versions
vor 2 Jahren
Amaan Qureshi
652433fce4
ci: remove appveyor
vor 2 Jahren
Anton Kochkov
f64a422d4e
ci: use nodejs 20 for appveyor
vor 2 Jahren
Amaan Qureshi
72a60ea888
chore: generate
vor 2 Jahren
Amaan Qureshi
e3f4c9507b
fix: ms call modifier missing in some spots
vor 2 Jahren
Amaan Qureshi
579f349216
fix: allow ms pointer modifiers in abstract pointer declarators
vor 2 Jahren
Amaan Qureshi
8e6e28c340
fix: ternary consequences can have comma expressions
vor 2 Jahren
Amaan Qureshi
bac0e895ef
fix: asm strings can be concatenated
vor 2 Jahren
Amaan Qureshi
b20f858322
docs: update badges
vor 2 Jahren
Amaan Qureshi
25ca2718aa
0.20.8
vor 2 Jahren
Lewis Russell
c706154d29
fix: allow function definitions to contain preproc attributes
Specifically for Neovim which contains code like:
```c
Dictionary nvim_eval_statusline(String str, Dict(eval_statusline) *opts, Arena *arena, Error *err)
FUNC_API_SINCE(8) FUNC_API_FAST
{
...
}
```
vor 2 Jahren
Lewis Russell
c325574f64
fix: improve concatenated_string
Now allows `<string> <identifier> ...` forms of concatenations.
vor 2 Jahren
Brandon Wu
ecdd500806
fix: properly suffix elifdef
vor 2 Jahren
Amaan Qureshi
34f4c7e751
fix: allow preproc calls in enumerator list items
vor 2 Jahren
Amaan Qureshi
df6ac34d5e
0.20.7
vor 2 Jahren
Amaan Qureshi
d908b47d74
chore: generate
vor 2 Jahren
Amaan Qureshi
32067813ce
feat: allow preprocessor directives inside enumerator lists
vor 2 Jahren
Amaan Qureshi
14c056841b
feat: multi-byte characters
vor 2 Jahren
Riley Bruins
f0f5f1a269
fix: allow any position of sized type keywords
vor 2 Jahren
Amaan Qureshi
fea3dea7b9
feat: support missing gnu-style designated initializers
vor 2 Jahren
Amaan Qureshi
212a80f864
chore: remove 'static
vor 2 Jahren
Amaan Qureshi
28724a8858
docs: add badges
vor 2 Jahren
Amaan Qureshi
1dd47d32f3
chore: bump actions and deps
vor 2 Jahren
Amaan Qureshi
c42616f152
feat: add issue templates
vor 2 Jahren