Closed wookayin closed 11 months ago
According to https://en.cppreference.com/w/c/language/_Static_assert in C11, one should use _Static_assert, not static_assert for better compatibility.
_Static_assert
static_assert
static_assert can make neovim crash if the treesitter parser is built against a lower version of stdc libs. (nvim-treesitter/nvim-treesitter#5623)
Similar fix to https://github.com/tree-sitter/tree-sitter-python/pull/235.
Thanks!
According to https://en.cppreference.com/w/c/language/_Static_assert in C11, one should use
_Static_assert
, notstatic_assert
for better compatibility.static_assert
can make neovim crash if the treesitter parser is built against a lower version of stdc libs. (nvim-treesitter/nvim-treesitter#5623)Similar fix to https://github.com/tree-sitter/tree-sitter-python/pull/235.