diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-06-19 13:20:53 -0700 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-06-19 13:20:53 -0700 |
| commit | 411b24361e31503171b2940ebd44dc436550a716 (patch) | |
| tree | b8f797ff5869d4130a35ac09fafd6f59bd2fa3e7 /source/slang/check.cpp | |
| parent | 838e8331da24744948539c12d2a8edcd9c594ee5 (diff) | |
Don't emit redundant `#line` directives
If the line number for the next token is within a small range, then go ahead and output newlines to get caught up, rather than emit a `#line` directive. This saves a small amount of clutter, and in the particular case where the number of lines is 1, it stops our current behavior of putting a directive on each line.
Diffstat (limited to 'source/slang/check.cpp')
0 files changed, 0 insertions, 0 deletions
