mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
12 lines
199 B
Python
Executable File
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
|