Christian Clason
9f83013ce4
release v0.24.2
2 месяцев назад
Christian Clason
a24ba42dc0
feat: update bindings and parser with 0.26.8
Do not convert grammar to module as this will affect grammars that
import it (cpp, objc, ...)
2 месяцев назад
Christian Clason
7fa1be1b69
release v0.24.1
1 год назад
Christian Clason
0910937313
release v0.24.0
1 год назад
Christian Clason
8c4aefef79
feat!: regenerate parser and bindings with ABI 15
1 год назад
Christian Clason
cd44a2b136
fix: generate parser for grammar changes
1 год назад
Amaan Qureshi
3aa2995549
fix: always ensure K&R functions have at least 1 declaration
1 год назад
Amaan Qureshi
5399e4e811
chore: generate with v0.24.5
1 год назад
Amaan Qureshi
661d49b9e5
build: update for 0.24
1 год назад
Amaan Qureshi
d37cd2cf90
chore: generate
1 год назад
Amaan Qureshi
bc85948c0b
chore: generate
1 год назад
Amaan Qureshi
d65368f9da
build: update bindings
1 год назад
Amaan Qureshi
77e57f5328
feat: support `__asm` in asm expressions
1 год назад
Amaan Qureshi
0f1658320e
feat: support the `_Nonnull` clang attribute
1 год назад
Amaan Qureshi
be23d2c9d8
chore: generate
2 лет назад
Amaan Qureshi
64483e84b1
refactor: unhide supertype nodes
2 лет назад
touzeauv
695779e82f
feat: support the `alignas` type qualifier
Co-authored-by: Valentin Touzeau <tree-sitter.github@valentintouzeau.fr>
2 лет назад
Amaan Qureshi
b8570770eb
feat: support `static` in array declarations
2 лет назад
Amaan Qureshi
c2b5837cd0
fix: remove the unnecessary `seq` around variadic_parameter
2 лет назад
Amaan Qureshi
82fb86aa54
chore: regenerate
2 лет назад
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.
2 лет назад
ObserverOfTime
db11e91889
build: update bindings and versions
2 лет назад
Amaan Qureshi
72a60ea888
chore: generate
2 лет назад
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
{
...
}
```
2 лет назад
Lewis Russell
c325574f64
fix: improve concatenated_string
Now allows `<string> <identifier> ...` forms of concatenations.
2 лет назад
Brandon Wu
ecdd500806
fix: properly suffix elifdef
2 лет назад
Amaan Qureshi
34f4c7e751
fix: allow preproc calls in enumerator list items
2 лет назад
Amaan Qureshi
d908b47d74
chore: generate
2 лет назад
DennySun2100
25371f9448
feat: add Microsoft's SEH extension
Co-authored-by: Denny Sun <dennys@microsoft.com>
2 лет назад
Amaan Qureshi
978daf49f6
feat: allow `$` in identifiers
2 лет назад
Phil Turnbull
f1075f2d65
fix: `sizeof` precedence is incorrect
2 лет назад
Amaan Qureshi
87a5caaf2c
chore: generate
2 лет назад
Amaan Qureshi
4d991237e2
chore: generate
2 лет назад
Amaan Qureshi
9933b50313
fix: rework rules to reduce state count
2 лет назад
Amaan Qureshi
b4cdc500b1
chore: generate
2 лет назад
Amaan Qureshi
39bea7d391
fix: remove unnecessary conflicts
3 лет назад
Amaan Qureshi
43a147ad77
chore: generate
3 лет назад
Amaan Qureshi
0cc26b0e3b
chore: generate
3 лет назад
Amaan Qureshi
4b6e0bc97b
feat: add `attribute_specifier` to struct
3 лет назад
Amaan Qureshi
349f3bb3f4
chore: generate & update test
3 лет назад
Amaan Qureshi
84c6744e0e
chore: generate
3 лет назад
Amaan Qureshi
0df358adfb
chore: generate
3 лет назад
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
3 лет назад
Amaan Qureshi
c75868f8b5
feat: C23
3 лет назад
Amaan Qureshi
bb4ab38847
feat: allow type_qualifiers after typedef specifier, alias char content
3 лет назад
antoinemadec
7f678a26bb
Add else_clause
3 лет назад
TJ DeVries
6b85e8478b
fix: Add compound statement to call expression
5 лет назад
Christian Clason
6adee19458
feat: allow identifiers in string concatenations ( #145 )
* feat: allow identifiers in string concatenations
Resolves errors in strings of the form:
("failed in line %" PRIdLINENR)
---------
Co-authored-by: Lewis Russell <lewis6991@gmail.com>
3 лет назад
Benjamin Brownlee
693d298099
feat: add gnu inline asm syntax ( #140 )
3 лет назад
Benjamin Brownlee
bb74560cd4
fix: allow preproc define without value to preceed a line with whitespace at start
3 лет назад