In the Lemon output, add a prefix comment that explains that the output file

is automatically generated and shows the name of the source file.

FossilOrigin-Name: d34caf3bb63d0512ea116a8c8c8343b76aa39441bd4b3e98231747a705b91d54
This commit is contained in:
drh
2020-09-01 12:26:55 +00:00
parent 60c71b02ca
commit 512aa78ca2
3 changed files with 11 additions and 7 deletions
+4
View File
@@ -4389,6 +4389,10 @@ void ReportTable(
}
lineno = 1;
fprintf(out,
"/* This file is automatically generated by Lemon from input grammar\n"
"** source file \"%s\". */\n", lemp->filename); lineno += 2;
/* The first %include directive begins with a C-language comment,
** then skip over the header comment of the template file
*/