diff options
| author | bfredl <bjorn.linse@gmail.com> | 2022-08-24 15:22:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-24 15:22:30 +0200 |
| commit | f1ea126a6eb1d9cae53eae3fedbfa51f90ee97b1 (patch) | |
| tree | b0c3c27869110cc51cda2f18d64ef9608c956481 /src/nvim/generators/c_grammar.lua | |
| parent | f91b1885ddeaf971e17afe49b80f1b1412ecc8a2 (diff) | |
| parent | 7784dc9e0d90284b0d9c9cf0833c27d4de22b7f4 (diff) | |
| download | rneovim-f1ea126a6eb1d9cae53eae3fedbfa51f90ee97b1.tar.gz rneovim-f1ea126a6eb1d9cae53eae3fedbfa51f90ee97b1.tar.bz2 rneovim-f1ea126a6eb1d9cae53eae3fedbfa51f90ee97b1.zip | |
Merge pull request #19906 from bfredl/bigstage
perf(api): allow to use an arena for return values
Diffstat (limited to 'src/nvim/generators/c_grammar.lua')
| -rw-r--r-- | src/nvim/generators/c_grammar.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/generators/c_grammar.lua b/src/nvim/generators/c_grammar.lua index 70a7be86b5..d872ffd6a9 100644 --- a/src/nvim/generators/c_grammar.lua +++ b/src/nvim/generators/c_grammar.lua @@ -26,6 +26,7 @@ local c_id = ( local c_void = P('void') local c_param_type = ( ((P('Error') * fill * P('*') * fill) * Cc('error')) + + ((P('Arena') * fill * P('*') * fill) * Cc('arena')) + C((P('const ') ^ -1) * (c_id) * (ws ^ 1) * P('*')) + (C(c_id) * (ws ^ 1)) ) |