Skip to content

Commit 0716f10

Browse files
authored
Merge pull request #305 from mandolaerik/pr/add-linemarks-to-dmldep-c-file
Add linemarks to dmldep.c file
2 parents 3976f05 + 1bd8633 commit 0716f10

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

py/dml/dmlc.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,9 @@ def print_cdep(outputbase, headers, footers):
152152
generation'''
153153
f = output.FileOutput(outputbase + '-cdep.c')
154154
with f:
155-
for block in headers + footers:
156-
block.toc()
155+
with output.allow_linemarks():
156+
for block in headers + footers:
157+
block.toc()
157158
f.close()
158159
f.commit()
159160

0 commit comments

Comments
 (0)