Skip to content

Commit

Permalink
[mtl-out] Add "assert" to reserved words
Browse files Browse the repository at this point in the history
  • Loading branch information
teoxoy committed Mar 12, 2024
1 parent 53ac03c commit 3107f5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions naga/src/back/msl/keywords.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3107f5e

Please sign in to comment.