Back to index

enigmail  1.4.3
mkparse.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 
00003 import sys
00004 import pymake.parser
00005 
00006 for f in sys.argv[1:]:
00007     print "Parsing %s" % f
00008     fd = open(f, 'rU')
00009     s = fd.read()
00010     fd.close()
00011     stmts = pymake.parser.parsestring(s, f)
00012     print stmts