summary refs log tree commit diff stats
path: root/tinyc/tests
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 /tinyc/tests
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 'tinyc/tests')
0 files changed, 0 insertions, 0 deletions
ef='#n77'>77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133