[descriptor] Add an alias for and_or()
The descriptor syntax encodes it with `andor()`, without the underscore
This commit is contained in:
parent
e3dd755396
commit
5edf663f3d
@ -602,6 +602,9 @@ macro_rules! fragment {
|
|||||||
( and_or ( $( $inner:tt )* ) ) => ({
|
( and_or ( $( $inner:tt )* ) ) => ({
|
||||||
$crate::impl_node_opcode_three!(AndOr, $( $inner )*)
|
$crate::impl_node_opcode_three!(AndOr, $( $inner )*)
|
||||||
});
|
});
|
||||||
|
( andor ( $( $inner:tt )* ) ) => ({
|
||||||
|
$crate::impl_node_opcode_three!(AndOr, $( $inner )*)
|
||||||
|
});
|
||||||
( or_b ( $( $inner:tt )* ) ) => ({
|
( or_b ( $( $inner:tt )* ) ) => ({
|
||||||
$crate::impl_node_opcode_two!(OrB, $( $inner )*)
|
$crate::impl_node_opcode_two!(OrB, $( $inner )*)
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user