diff --git a/cmd/scip/tests/reprolang/generate-tree-sitter-parser.sh b/cmd/scip/tests/reprolang/generate-tree-sitter-parser.sh index 909a2cf0..d216d952 100755 --- a/cmd/scip/tests/reprolang/generate-tree-sitter-parser.sh +++ b/cmd/scip/tests/reprolang/generate-tree-sitter-parser.sh @@ -3,5 +3,5 @@ set -eux SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" cd "$SCRIPT_DIR" yarn install -./node_modules/.bin/tree-sitter generate +./node_modules/.bin/tree-sitter generate --abi 13 yarn --cwd ../../../.. run prettier diff --git a/cmd/scip/tests/reprolang/src/parser.c b/cmd/scip/tests/reprolang/src/parser.c index 9935f8ff..e69f026c 100644 --- a/cmd/scip/tests/reprolang/src/parser.c +++ b/cmd/scip/tests/reprolang/src/parser.c @@ -5,7 +5,7 @@ #pragma GCC diagnostic ignored "-Wmissing-field-initializers" #endif -#define LANGUAGE_VERSION 14 +#define LANGUAGE_VERSION 13 #define STATE_COUNT 41 #define LARGE_STATE_COUNT 2 #define SYMBOL_COUNT 33 @@ -327,50 +327,6 @@ static const uint16_t ts_non_terminal_alias_map[] = { 0, }; -static const TSStateId ts_primary_state_ids[STATE_COUNT] = { - [0] = 0, - [1] = 1, - [2] = 2, - [3] = 3, - [4] = 4, - [5] = 5, - [6] = 6, - [7] = 7, - [8] = 8, - [9] = 9, - [10] = 10, - [11] = 11, - [12] = 12, - [13] = 13, - [14] = 14, - [15] = 15, - [16] = 16, - [17] = 17, - [18] = 18, - [19] = 19, - [20] = 20, - [21] = 21, - [22] = 22, - [23] = 23, - [24] = 24, - [25] = 25, - [26] = 26, - [27] = 27, - [28] = 28, - [29] = 29, - [30] = 30, - [31] = 31, - [32] = 32, - [33] = 33, - [34] = 34, - [35] = 35, - [36] = 36, - [37] = 37, - [38] = 38, - [39] = 39, - [40] = 40, -}; - static bool ts_lex(TSLexer *lexer, TSStateId state) { START_LEXER(); eof = lexer->eof(lexer); @@ -1660,7 +1616,6 @@ extern const TSLanguage *tree_sitter_reprolang(void) { .lex_fn = ts_lex, .keyword_lex_fn = ts_lex_keywords, .keyword_capture_token = sym_workspace_identifier, - .primary_state_ids = ts_primary_state_ids, }; return &language; }