From 1015d853f3dc3e14e1cd3faafbf9669199fc3aac Mon Sep 17 00:00:00 2001 From: Vesa Karvonen Date: Thu, 20 Jun 2002 15:53:24 +0000 Subject: [PATCH] Extending TUPLE_LIMIT to 32 [SVN r14214] --- example/array_arithmetic.c | 46 +++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/example/array_arithmetic.c b/example/array_arithmetic.c index 87a9f73..9f5f3cb 100644 --- a/example/array_arithmetic.c +++ b/example/array_arithmetic.c @@ -50,32 +50,26 @@ /* List of applicative binary operators. */ #define APPLICATIVE_BINARY_OPS\ - BOOST_PP_LIST_APPEND\ - ( BOOST_PP_TUPLE_TO_LIST\ - ( 2\ - , ( ( * , mul , 1 , 0 , 0 )\ - , ( / , div , 1 , 0 , 0 )\ - )\ - )\ - , BOOST_PP_TUPLE_TO_LIST\ - ( 16\ - , ( ( % , mod , 0 , 0 , 0 )\ - , ( + , add , 1 , 0 , 0 )\ - , ( - , sub , 1 , 0 , 0 )\ - , ( << , shift_left , 0 , 0 , 1 )\ - , ( >> , shift_right , 0 , 0 , 1 )\ - , ( < , less , 1 , 1 , 0 )\ - , ( <= , less_equal , 1 , 1 , 0 )\ - , ( >= , greater_equal , 1 , 1 , 0 )\ - , ( > , greater , 1 , 1 , 0 )\ - , ( == , equal , 1 , 1 , 0 )\ - , ( != , not_equal , 1 , 1 , 0 )\ - , ( & , bitwise_and , 0 , 0 , 0 )\ - , ( | , bitwise_or , 0 , 0 , 0 )\ - , ( ^ , bitwise_xor , 0 , 0 , 0 )\ - , ( && , logical_and , 1 , 1 , 0 )\ - , ( || , logical_or , 1 , 1 , 0 )\ - )\ + BOOST_PP_TUPLE_TO_LIST\ + ( 18\ + , ( ( * , mul , 1 , 0 , 0 )\ + , ( / , div , 1 , 0 , 0 )\ + , ( % , mod , 0 , 0 , 0 )\ + , ( + , add , 1 , 0 , 0 )\ + , ( - , sub , 1 , 0 , 0 )\ + , ( << , shift_left , 0 , 0 , 1 )\ + , ( >> , shift_right , 0 , 0 , 1 )\ + , ( < , less , 1 , 1 , 0 )\ + , ( <= , less_equal , 1 , 1 , 0 )\ + , ( >= , greater_equal , 1 , 1 , 0 )\ + , ( > , greater , 1 , 1 , 0 )\ + , ( == , equal , 1 , 1 , 0 )\ + , ( != , not_equal , 1 , 1 , 0 )\ + , ( & , bitwise_and , 0 , 0 , 0 )\ + , ( | , bitwise_or , 0 , 0 , 0 )\ + , ( ^ , bitwise_xor , 0 , 0 , 0 )\ + , ( && , logical_and , 1 , 1 , 0 )\ + , ( || , logical_or , 1 , 1 , 0 )\ )\ )