version 1.8, 2000/08/22 18:01:19
|
version 1.9, 2000/09/14 20:25:12
|
Line 1743 p_new_unit(Unit_t *left_p, Unit_t *right
|
Line 1743 p_new_unit(Unit_t *left_p, Unit_t *right
|
err_code = 3; |
err_code = 3; |
cu_p->u_type = U_UNKNOWN; |
cu_p->u_type = U_UNKNOWN; |
} |
} |
} else { |
} else { /* symb_str is not in <prefix><units> form */ |
/* printf("<<%s>>", symb_str); */ |
/* printf("<<%s>>", symb_str); */ |
err_code = 2; |
err_code = 2; |
cu_p->u_type = U_UNKNOWN; |
cu_p->u_type = U_UNKNOWN; |
} |
} |
} else {/* len == 1 */ |
} else {/* len == 1 */ |
/* printf(" not found\n"); */ |
/* printf(" not found in symbol tree \n"); */ |
err_code = 1; |
err_code = 1; |
cu_p->u_type = U_UNKNOWN; |
cu_p->u_type = U_UNKNOWN; |
} |
} |
} |
} |
} else { |
} else { /* why would we have a length less than zero symb_str ? */ |
err_code = 4; |
err_code = 4; |
} |
} |
|
|