From 668078ac8be89e55c8e13ac429c4b0e63fb604dc Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Thu, 17 Jan 2019 11:43:20 -0800 Subject: Fix diagnostic output for command-line slangc (#783) Somehow the work to support output redirection when running things in `slang-test` ended up interfering with the API-specified diagnostic callback in the `slangc` code. This change doesn't include fixes to the testing infrastructure to prevent a regression like this happening again. --- source/slangc/main.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'source') diff --git a/source/slangc/main.cpp b/source/slangc/main.cpp index ae15b7d49..2da335628 100644 --- a/source/slangc/main.cpp +++ b/source/slangc/main.cpp @@ -39,9 +39,6 @@ SLANG_TEST_TOOL_API SlangResult innerMain(StdWriters* stdWriters, SlangSession* spSetCommandLineCompilerMode(compileRequest); - // Do any app specific configuration - stdWriters->setRequestWriters(compileRequest); - char const* appName = "slangc"; if (argc > 0) appName = argv[0]; -- cgit v1.2.3