From bc3dc0e82d52faa45ffe73448e86208f137b8536 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 8 Mar 2024 16:32:37 -0800 Subject: Parser and module finding logic fixes. (#3720) * Fix parsing logic of `struct` decl. Fixes #3716. * Allow `loadModule` to find modules with underscores. * Fix test. --- tools/gfx-unit-test/link-time-type.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/gfx-unit-test/link-time-type.cpp b/tools/gfx-unit-test/link-time-type.cpp index 7f470c619..a522b6903 100644 --- a/tools/gfx-unit-test/link-time-type.cpp +++ b/tools/gfx-unit-test/link-time-type.cpp @@ -49,8 +49,7 @@ namespace gfx_test )"; const char* module1Src = R"( import ifoo; - export struct Foo : IFoo = FooImpl; - )"; + export struct Foo : IFoo = FooImpl;)"; Slang::ComPtr slangSession; SLANG_RETURN_ON_FAIL(device->getSlangSession(slangSession.writeRef())); Slang::ComPtr diagnosticsBlob; -- cgit v1.2.3