diff options
Diffstat (limited to 'Parser/printgrammar.c')
-rw-r--r-- | Parser/printgrammar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/printgrammar.c b/Parser/printgrammar.c index e3da97e..705cbcb 100644 --- a/Parser/printgrammar.c +++ b/Parser/printgrammar.c @@ -49,7 +49,7 @@ printgrammar(g, fp) fprintf(fp, "#include \"grammar.h\"\n"); printdfas(g, fp); printlabels(g, fp); - fprintf(fp, "grammar gram = {\n"); + fprintf(fp, "grammar _PyParser_Grammar = {\n"); fprintf(fp, "\t%d,\n", g->g_ndfas); fprintf(fp, "\tdfas,\n"); fprintf(fp, "\t{%d, labels},\n", g->g_ll.ll_nlabels); |