[descriptor] Add an alias for and_or()

The descriptor syntax encodes it with `andor()`, without the underscore
This commit is contained in:
Alekos Filini committed 2021-09-15 10:37:35 +02:00
1 parent e3dd755396
commit 5edf663f3d
1 file changed
+3
+3
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 )*)
});