build/pymake/mkparse.py
author Ryan VanderMeulen <ryanvm@gmail.com>
Wed, 29 Jul 2015 10:04:25 -0400
changeset 222182 d1ed7de67f5a16325716cbfa3ca79dbe6284049f
parent 97344 e5e7f60fe0bed65a97963e5d5c9adc0d379a8f3e
permissions -rwxr-xr-x
Added tag B2G_2_1_END for changeset 41e10c6740be on a CLOSED TREE

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