Skip to content

Commit

Permalink
fix bugs in generator macros
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Nov 22, 2024
1 parent ba48386 commit 6b9a883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/wasmparser/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ macro_rules! define_for_each_non_simd_operator {
define_for_each_non_simd_operator!(
filter [
$($t)*
@simd $op $({ $($arg: $argty),* })? => $visit ($($ann)*)
@$proposal $op $({ $($arg: $argty),* })? => $visit ($($ann)*)
]
$($rest)*
);
Expand Down Expand Up @@ -973,7 +973,7 @@ macro_rules! define_for_each_simd_operator {
define_for_each_simd_operator!(
filter [
$($t)*
@simd $op $({ $($arg: $argty),* })? => $visit ($($ann)*)
@relaxed_simd $op $({ $($arg: $argty),* })? => $visit ($($ann)*)
]
$($rest)*
);
Expand Down

0 comments on commit 6b9a883

Please sign in to comment.