Sign in
cobalt
/
cobalt
/
2ea2238d90d36bda2ed661e5419f2b40fae96ba4
/
.
/
src
/
third_party
/
mozjs-45
/
build
/
pymake
/
mkparse.py
blob: 253683948aecdb128b3399ab9cc9cee5b5804dcf [
file
] [
log
] [
blame
]
#!/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