Skip to content

Commit 52d2865

Browse files
authored
chore(generate): add @generated to parser.c header (tree-sitter#4338)
This makes `parser.c` follow the https://generated.at/ convention for generated files. This potentially allows any compatible IDE to discourage editing it directly.
1 parent 89b04ba commit 52d2865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/generate/src/render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ impl Generator {
330330
);
331331
add_line!(
332332
self,
333-
"/* Automatically generated by tree-sitter v{version} */",
333+
"/* Automatically @generated by tree-sitter v{version} */",
334334
);
335335
add_line!(self, "");
336336
}

0 commit comments

Comments
 (0)