Output absolute filename into generated C files

master
Yevgen Muntyan 2006-08-16 00:15:58 -05:00
parent a8f4e12514
commit 99a47efa8d
1 changed files with 1 additions and 0 deletions

View File

@ -1479,6 +1479,7 @@ def main(argv):
p = defsparser.DefsParser(args[0], defines)
if not outfilename:
outfilename = os.path.splitext(args[0])[0] + '.c'
outfilename = os.path.abspath(outfilename)
p.startParsing()