diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-07-21 11:37:31 -0700 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-07-21 11:37:31 -0700 |
| commit | 9718ab32e91ba632b03ad8d0f5e89a597b225a4c (patch) | |
| tree | dff607d1927c037f44a6a6fbbf2847f3944f5061 /source/slang/compiler.cpp | |
| parent | 85f60e07507f347ef4cb613b6d87521ff10e6c81 (diff) | |
Add an API option to control emission of `#line` directives
- API users can use this to get "clean" output to aid with debugging Slang issues
- Also changes the prefix on intermediate files that Slang dumps, to make them easier to ignore with a regexp
Diffstat (limited to 'source/slang/compiler.cpp')
| -rw-r--r-- | source/slang/compiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/compiler.cpp b/source/slang/compiler.cpp index e16b9dec7..81f107bd8 100644 --- a/source/slang/compiler.cpp +++ b/source/slang/compiler.cpp @@ -690,7 +690,7 @@ namespace Slang int id = counter++; String path; - path.append("slang-"); + path.append("slang-dump-"); path.append(id); path.append(ext); |
