Skip to content

Set ABI 14 revision for C grammar#148

Closed
kuczwara wants to merge 1 commit into
renzmann:mainfrom
kuczwara:fix-c-abi-14
Closed

Set ABI 14 revision for C grammar#148
kuczwara wants to merge 1 commit into
renzmann:mainfrom
kuczwara:fix-c-abi-14

Conversation

@kuczwara

@kuczwara kuczwara commented May 27, 2026

Copy link
Copy Markdown

Set :abi14-revision to the most recent tag of https://github.com/tree-sitter/tree-sitter-c with ABI version 14. This should resolve #141 for C.

~/src/tree-sitter-c $ git diff v0.23.6 v0.24.0 -- src/parser.c | grep -C3 LANGUAGE_VERSION
 #pragma GCC optimize ("O0")
 #endif

-#define LANGUAGE_VERSION 14
+#define LANGUAGE_VERSION 15
 #define STATE_COUNT 2015
 #define LARGE_STATE_COUNT 455
 #define SYMBOL_COUNT 360

I'm running Emacs 30.2.50 on Ubuntu 24.04.4 and this fixes the issue for me.

Related PRs

@kuczwara

Copy link
Copy Markdown
Author

Duplicate of #151

@kuczwara kuczwara closed this Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Version Mismatch

2 participants