Skip to content

Commit 08c5caa

Browse files
fix(legacy): rename grammar
1 parent 9632edc commit 08c5caa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

schema/legacy/grammar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/// <reference types="tree-sitter-cli/dsl" />
44

55
module.exports = grammar({
6-
name: "core_schema",
6+
name: "legacy_schema",
77

88
extras: _ => [],
99

schema/legacy/src/grammar.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json",
3-
"name": "core_schema",
3+
"name": "legacy_schema",
44
"rules": {
55
"scalar": {
66
"type": "CHOICE",

schema/legacy/src/parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ extern "C" {
655655
#define TS_PUBLIC __attribute__((visibility("default")))
656656
#endif
657657

658-
TS_PUBLIC const TSLanguage *tree_sitter_core_schema(void) {
658+
TS_PUBLIC const TSLanguage *tree_sitter_legacy_schema(void) {
659659
static const TSLanguage language = {
660660
.abi_version = LANGUAGE_VERSION,
661661
.symbol_count = SYMBOL_COUNT,

0 commit comments

Comments
 (0)