Index: Python/graminit.c =================================================================== --- Python/graminit.c (revision 62321) +++ Python/graminit.c (working copy) @@ -1,3 +1,5 @@ +/* Generated by Parser/pgen */ + #include "pgenheaders.h" #include "grammar.h" static arc arcs_0_0[3] = { Index: Include/graminit.h =================================================================== --- Include/graminit.h (revision 62321) +++ Include/graminit.h (working copy) @@ -1,3 +1,5 @@ +/* Generated by Parser/pgen */ + #define single_input 256 #define file_input 257 #define eval_input 258 Index: Parser/printgrammar.c =================================================================== --- Parser/printgrammar.c (revision 62321) +++ Parser/printgrammar.c (working copy) @@ -13,6 +13,7 @@ void printgrammar(grammar *g, FILE *fp) { + fprintf(fp, "/* Generated by Parser/pgen */\n\n"); fprintf(fp, "#include \"pgenheaders.h\"\n"); fprintf(fp, "#include \"grammar.h\"\n"); printdfas(g, fp); @@ -30,6 +31,8 @@ { dfa *d; int i; + + fprintf(fp, "/* Generated by Parser/pgen */\n\n"); d = g->g_dfa; for (i = g->g_ndfas; --i >= 0; d++)