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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user