From 3107f5e148db88053fd887387499b1a55c05a9b9 Mon Sep 17 00:00:00 2001 From: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com> Date: Mon, 11 Mar 2024 11:39:13 +0100 Subject: [PATCH] [mtl-out] Add "assert" to reserved words --- naga/src/back/msl/keywords.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/naga/src/back/msl/keywords.rs b/naga/src/back/msl/keywords.rs index f0025bf239..73c457dd34 100644 --- a/naga/src/back/msl/keywords.rs +++ b/naga/src/back/msl/keywords.rs @@ -4,6 +4,8 @@ // C++ - Standard for Programming Language C++ (N4431) // https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4431.pdf pub const RESERVED: &[&str] = &[ + // Undocumented + "assert", // found in https://github.com/gfx-rs/wgpu/issues/5347 // Standard for Programming Language C++ (N4431): 2.5 Alternative tokens "and", "bitor",