gecko/build/pymake/mkparse.py
2009-03-26 16:24:51 -04:00

12 lines
199 B
Python
Executable File

#!/usr/bin/env python
import sys
import pymake.parser
for f in sys.argv[1:]:
print "Parsing %s" % f
fd = open(f)
stmts = pymake.parser.parsestream(fd, f)
fd.close()
print stmts