summary refs log tree commit diff stats
path: root/lib/pure/parseutils.nim
diff options
context:
space:
mode:
authorPaul Tan <pyokagan@gmail.com>2017-08-22 23:36:03 +0800
committerPaul Tan <pyokagan@gmail.com>2017-08-25 17:45:33 +0800
commitb06c0f97a4640c16b2205635b378a39fcef9b814 (patch)
treee903eca265db9211261c8783f5267cb41d50af76 /lib/pure/parseutils.nim
parent1a50442c13bfc19fe314df0a0fec87dd1b3c5d48 (diff)
downloadNim-b06c0f97a4640c16b2205635b378a39fcef9b814.tar.gz
writeDepsFile: write included files as well
`writeDepsFile()` does not list files which were included with the
`include` statement, e.g, with:

    import file1
    include file2

`file1` will be written to the deps file, while `file2` would not.

Fix this by modifying `writeDepsFile()` to write included files as well.
Now, both `file1` and `file2` in the above example will be written to
the deps file.
Diffstat (limited to 'lib/pure/parseutils.nim')
0 files changed, 0 insertions, 0 deletions
2b7ecbaecd0369c662'>a7de5933 ^
0bf9d324 ^





cd084c7e ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26