stage3/array_range_check.cc
changeset 612 c062ff18d04f
parent 599 60f3edcf6a8f
child 614 31bda4cde875
equal deleted inserted replaced
611:8e81d7db54be 612:c062ff18d04f
    69     fprintf(stderr, __VA_ARGS__);                                                                                           \
    69     fprintf(stderr, __VA_ARGS__);                                                                                           \
    70     fprintf(stderr, "\n");                                                                                                  \
    70     fprintf(stderr, "\n");                                                                                                  \
    71     warning_found = true;                                                                                                   \
    71     warning_found = true;                                                                                                   \
    72 }
    72 }
    73 
    73 
    74 #define GET_CVALUE(dtype, symbol)             ((symbol)->const_value_##dtype->value)
    74 #define GET_CVALUE(dtype, symbol)             ((symbol)->const_value._##dtype.value)
    75 #define VALID_CVALUE(dtype, symbol)           ((NULL != (symbol)->const_value_##dtype) && (symbol_c::cs_const_value == (symbol)->const_value_##dtype->status))
    75 #define VALID_CVALUE(dtype, symbol)           (symbol_c::cs_const_value == (symbol)->const_value._##dtype.status)
    76 
    76 
    77 
    77 
    78 
    78 
    79 array_range_check_c::array_range_check_c(symbol_c *ignore) {
    79 array_range_check_c::array_range_check_c(symbol_c *ignore) {
    80 	error_count = 0;
    80 	error_count = 0;