[descriptor] Add an alias for and_or()

The descriptor syntax encodes it with `andor()`, without the underscore
This commit is contained in:
Alekos Filini
2021-09-15 10:36:02 +02:00
parent e3dd755396
commit 5edf663f3d

View File

@@ -602,6 +602,9 @@ macro_rules! fragment {
( and_or ( $( $inner:tt )* ) ) => ({
$crate::impl_node_opcode_three!(AndOr, $( $inner )*)
});
( andor ( $( $inner:tt )* ) ) => ({
$crate::impl_node_opcode_three!(AndOr, $( $inner )*)
});
( or_b ( $( $inner:tt )* ) ) => ({
$crate::impl_node_opcode_two!(OrB, $( $inner )*)
});