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年前