mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
13 lines
222 B
Python
Executable File
13 lines
222 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, 'rU')
|
|
s = fd.read()
|
|
fd.close()
|
|
stmts = pymake.parser.parsestring(s, f)
|
|
print stmts
|