build/pymake/mkparse.py
author Masayuki Nakano <masayuki@d-toybox.com>
Fri, 11 Sep 2015 01:59:55 +0900
changeset 296139 dd0a5b24d93ccd9dcec8cea76127a564ff9eaf02
parent 99585 e5e7f60fe0bed65a97963e5d5c9adc0d379a8f3e
permissions -rwxr-xr-x
Bug 895274 part.185 Rename NS_WHEEL_START to eWheelOperationStart r=smaug

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