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.

(cherry picked from commit 52d2865365)
This commit is contained in:
Edgar Onghena 2025-04-08 04:52:37 -04:00 committed by Christian Clason
parent 4619261da0
commit d2914ca243

View file

@ -328,7 +328,7 @@ impl Generator {
);
add_line!(
self,
"/* Automatically generated by tree-sitter v{version} */",
"/* Automatically @generated by tree-sitter v{version} */",
);
add_line!(self, "");
}