summaryrefslogtreecommitdiffstats
path: root/Parser/asdl_c.py
diff options
context:
space:
mode:
Diffstat (limited to 'Parser/asdl_c.py')
-rwxr-xr-xParser/asdl_c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py
index 5bb42ec..fdbbeaf 100755
--- a/Parser/asdl_c.py
+++ b/Parser/asdl_c.py
@@ -732,7 +732,7 @@ def main(srcfile):
f.close()
if SRC_DIR:
- p = "%s/%s-ast.c" % (SRC_DIR, mod.name)
+ p = os.path.join(SRC_DIR, str(mod.name) + "-ast.c")
else:
p = "%s-ast.c" % mod.name
f = open(p, "wb")