~habnabit/parsley/parser-protocol

« back to all changes in this revision

Viewing changes to bin/generate_parser

  • Committer: Allen Short
  • Date: 2012-09-23 08:57:57 UTC
  • Revision ID: washort@divmod.com-20120923085757-od2n9215hjuymc3z
clean up some stuff around term parsing and term actions

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    print e.formatErrorTwine(g.input.data)
31
31
    raise
32
32
source = writePython(tree)
33
 
pythonFile.write("from ometa.runtime import OMetaGrammarBase as GrammarBase\n")
 
33
pythonFile.write("from ometa.runtime import OMetaBase as GrammarBase\n")
34
34
pythonFile.write(source)