build/pymake/mkparse.py
author David Anderson <danderson@mozilla.com>
Fri, 02 Sep 2011 16:19:48 -0700
changeset 105231 d03e1ba0d3b5a0ee34fb18788acd6fe53aa16673
parent 34127 b288c2d37d6bf899ca173dbecf3b27ec34aa6d1c
child 94484 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rwxr-xr-x
Disable the tracer when Ion is enabled (bug 684318, r=sstangl).

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