absyntax_utils/search_expression_type.cc
changeset 258 d7d92b2f87e9
parent 257 90782e241346
parent 208 c72748a12ae3
child 265 4d222f46f8cc
equal deleted inserted replaced
257:90782e241346 258:d7d92b2f87e9
   183   return NULL;
   183   return NULL;
   184 }
   184 }
   185 
   185 
   186 
   186 
   187 integer_c search_expression_type_c::integer("1"); // what default value should we use here ???
   187 integer_c search_expression_type_c::integer("1"); // what default value should we use here ???
   188 #define compute_standard_function_default search_expression_type_c::compute_standard_function_default
       
   189 #define compute_standard_function_il search_expression_type_c::compute_standard_function_il
       
   190 #define search(x) search_f(x)
       
   191 #define next() next_nf()
       
   192 //     #define search_constant_type_c::constant_int_type_name  search_expression_type_c::integer
       
   193 #define constant_int_type_name  integer
       
   194 #include "search_type_code.c"
   188 #include "search_type_code.c"
   195 #undef constant_int_type_name
       
   196 //     #undef search_constant_type_c::constant_int_type_name
       
   197 #undef next
       
   198 #undef search
       
   199 #undef compute_standard_function_default
       
   200 #undef compute_standard_function_il
       
   201 
   189 
   202 /*static bool_type_name_c bool_type_name;*/
   190 /*static bool_type_name_c bool_type_name;*/
   203 
   191 
   204 /* A helper function... */
   192 /* A helper function... */
   205 void *search_expression_type_c::compute_boolean_expression(symbol_c *left_type, symbol_c *right_type) {
   193 void *search_expression_type_c::compute_boolean_expression(symbol_c *left_type, symbol_c *right_type) {