absyntax_utils/search_expression_type.cc
changeset 208 c72748a12ae3
parent 202 da1a8186f86f
child 258 d7d92b2f87e9
equal deleted inserted replaced
207:56ee922d0112 208:c72748a12ae3
   155   return NULL;
   155   return NULL;
   156 }
   156 }
   157 
   157 
   158 
   158 
   159 integer_c search_expression_type_c::integer("1"); // what default value should we use here ???
   159 integer_c search_expression_type_c::integer("1"); // what default value should we use here ???
   160 #define compute_standard_function_default search_expression_type_c::compute_standard_function_default
       
   161 #define compute_standard_function_il search_expression_type_c::compute_standard_function_il
       
   162 #define search(x) search_f(x)
       
   163 #define next() next_nf()
       
   164 //     #define search_constant_type_c::constant_int_type_name  search_expression_type_c::integer
       
   165 #define constant_int_type_name  integer
       
   166 #include "search_type_code.c"
   160 #include "search_type_code.c"
   167 #undef constant_int_type_name
       
   168 //     #undef search_constant_type_c::constant_int_type_name
       
   169 #undef next
       
   170 #undef search
       
   171 #undef compute_standard_function_default
       
   172 #undef compute_standard_function_il
       
   173 
   161 
   174 /*static bool_type_name_c bool_type_name;*/
   162 /*static bool_type_name_c bool_type_name;*/
   175 
   163 
   176 /* A helper function... */
   164 /* A helper function... */
   177 void *search_expression_type_c::compute_boolean_expression(symbol_c *left_type, symbol_c *right_type) {
   165 void *search_expression_type_c::compute_boolean_expression(symbol_c *left_type, symbol_c *right_type) {