Skip to content

Commit 5ef2dd1

Browse files
committed
Test new parser
1 parent ea49a02 commit 5ef2dd1

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

KickAssemblerToDoxygen.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,14 @@ def usage():
170170
else:
171171
print("Using " + sys.argv[1] + " command line arguments")
172172
src_path = os.path.abspath(sys.argv[1])
173-
head_argument, tail_argument = os.path.split(src_path)
174-
out_path = head_argument + '/output'
173+
if src_path[-1] != '/':
174+
src_path += '/'
175+
176+
out_path = src_path + "../output"
175177
check_folder(out_path)
176178

179+
print(out_path)
180+
177181
for file in Path(src_path).rglob("*.asm"):
178182
relative_path = os.path.relpath(file, src_path)
179183
output_file = out_path + "/" + relative_path

0 commit comments

Comments
 (0)