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