build/pymake/mkparse.py
author ffxbld <release@mozilla.com>
Mon, 06 Jun 2016 16:20:55 -0400
changeset 339588 c4f1da5d78d8e9496575a025401084bc7a5a01df
parent 99131 e5e7f60fe0bed65a97963e5d5c9adc0d379a8f3e
permissions -rwxr-xr-x
No bug - Tagging mozilla-aurora a8fe75f38163d0af067fea60e951a844fb328db9 with FIREFOX_AURORA_48_END a=release DONTBUILD 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