mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:36:22 -04:00
chore(generate): add @generated to parser.c header (#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.
This commit is contained in:
parent
89b04babfb
commit
52d2865365
|
|
@ -330,7 +330,7 @@ impl Generator {
|
|||
);
|
||||
add_line!(
|
||||
self,
|
||||
"/* Automatically generated by tree-sitter v{version} */",
|
||||
"/* Automatically @generated by tree-sitter v{version} */",
|
||||
);
|
||||
add_line!(self, "");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue