diff options
author | Zahary Karadjov <zahary@gmail.com> | 2012-12-02 20:36:29 +0200 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2012-12-02 20:36:29 +0200 |
commit | d0edb1826b2c49413b6b7b1b9b351a632bd323f9 (patch) | |
tree | 279c27a24b89e093338910515d5f9b8223432e61 /copying.txt | |
parent | e9e22ccb2adfe1a44e998405b2dfed9b46ddcb95 (diff) | |
download | Nim-d0edb1826b2c49413b6b7b1b9b351a632bd323f9.tar.gz |
adds an option to interleave the generated code with snippets from the original source
Lines from the original source are outputted as comments next to line directives. Hopefully, this will make debugging codegen problems easier. Other changes: The frame setup code now uses a single-line C macro. My motivation was to reduce the noise in the generated output and make it easier to step over the boiler-plate code, but counter-intuitively this also improved the overall compilation speed a little bit so I applied the same treatment to line tracking too (this reduces the size of the generated files and the explanation is that probably the I/O overhead dominates the macro expansion costs).
Diffstat (limited to 'copying.txt')
0 files changed, 0 insertions, 0 deletions