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:
Edgar Onghena 2025-04-08 04:52:37 -04:00 committed by GitHub
parent 89b04babfb
commit 52d2865365
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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, "");
}