From 9718ab32e91ba632b03ad8d0f5e89a597b225a4c Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Fri, 21 Jul 2017 11:37:31 -0700 Subject: 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 --- source/slang/compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/compiler.cpp') 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); -- cgit v1.2.3