This commit is contained in:
@ -4,6 +4,7 @@ def erase_commented_lines(filename, out):
|
||||
with open(filename, 'r') as file:
|
||||
lines = file.readlines()
|
||||
|
||||
# gcc leaves these "comments" at the start of the file
|
||||
lines = [line for line in lines if not line.startswith('#')]
|
||||
|
||||
with open(out, 'w') as file:
|
||||
|
Reference in New Issue
Block a user