build/pymake/mkparse.py
author Geoff Brown <gbrown@mozilla.com>
Wed, 10 Aug 2011 16:56:49 -0400
changeset 74225 187ac0d7b1540c0b512564a2a79eb2936d6774a1
parent 34127 b288c2d37d6bf899ca173dbecf3b27ec34aa6d1c
child 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rwxr-xr-x
Bug 668349 - changes to xpcshell.ini; r=jmaher

#!/usr/bin/env python

import sys
import pymake.parser

for f in sys.argv[1:]:
    print "Parsing %s" % f
    fd = open(f, 'rU')
    s = fd.read()
    fd.close()
    stmts = pymake.parser.parsestring(s, f)
    print stmts