~ubuntu-branches/ubuntu/precise/gst0.10-python/precise

« back to all changes in this revision

Viewing changes to codegen/missingdefs.py

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2006-06-25 19:37:45 UTC
  • Revision ID: james.westby@ubuntu.com-20060625193745-9yeg0wq56r24n57x
Tags: upstream-0.10.4
ImportĀ upstreamĀ versionĀ 0.10.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
# -*- Mode: Python; py-indent-offset: 4 -*-
 
3
 
 
4
import sys
 
5
import defsparser
 
6
 
 
7
if len(sys.argv) < 3:
 
8
    sys.stderr.write("Usage: missingdefs.py generated-defs old-defs\n")
 
9
    sys.exit(1)
 
10
 
 
11
newp = defsparser.DefsParser(sys.argv[1])
 
12
oldp = defsparser.DefsParser(sys.argv[2])
 
13
 
 
14
newp.startParsing()
 
15
oldp.startParsing()
 
16
 
 
17
newp.printMissing(oldp)