build/pymake/mkparse.py
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Mon, 17 Nov 2014 02:02:21 -0800
changeset 216076 04b37e14c1ec4e74ac1595b22f4bd80565df2bca
parent 95106 e5e7f60fe0bed65a97963e5d5c9adc0d379a8f3e
permissions -rwxr-xr-x
Bumping manifests a=b2g-bump

#!/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