build/pymake/mkparse.py
author Benjamin Smedberg <benjamin@smedbergs.us>
Fri, 23 Oct 2009 11:16:27 -0400
changeset 34127 b288c2d37d6bf899ca173dbecf3b27ec34aa6d1c
parent 26608 1197710c68e7b92e4a047f3401c236f5a3544389
child 96742 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rwxr-xr-x
Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB.

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