build/pymake/mkparse.py
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Fri, 11 Sep 2015 17:44:10 -0700
changeset 262156 49e5ae13cfff0b1acc4f9c2d6a6a7a3ae2ba2900
parent 95077 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