~ubuntu-branches/ubuntu/karmic/python3.0/karmic

« back to all changes in this revision

Viewing changes to Parser/printgrammar.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-02-16 17:18:23 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090216171823-1d5cm5qnnjvmnzzm
Tags: 3.0.1-0ubuntu1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
        fprintf(fp, "/* Generated by Parser/pgen */\n\n");
17
17
        fprintf(fp, "#include \"pgenheaders.h\"\n");
18
18
        fprintf(fp, "#include \"grammar.h\"\n");
 
19
        fprintf(fp, "PyAPI_DATA(grammar) _PyParser_Grammar;\n");
19
20
        printdfas(g, fp);
20
21
        printlabels(g, fp);
21
22
        fprintf(fp, "grammar _PyParser_Grammar = {\n");