build/pymake/mkparse.py
author Liang-Heng Chen <xeonchen@gmail.com>
Thu, 11 Apr 2019 18:47:28 +0000
changeset 469069 2ac987c37cda1baa5601f0578db03c6860824ccf
parent 95077 e5e7f60fe0bed65a97963e5d5c9adc0d379a8f3e
permissions -rwxr-xr-x
Bug 1543393 - shardIndex should not use ceil(); r=chutten Differential Revision: https://phabricator.services.mozilla.com/D26909

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