* @date 2003
* @author Mathias Heil
* @version $Id$
- * @summary
+ * @brief
*
* Values are stored in a format depending upon chosen arithmetic
* module. Default uses strcalc and fltcalc.
case irms_reference:
if (!strcasecmp(str, "null"))
return get_tarval_null(mode);
- /* fall through */
+ /* FALLTHROUGH */
case irms_int_number:
sc_val_from_str(str, len, NULL, mode);
return get_tarval(sc_get_buffer(), sc_get_buffer_length(), mode);
switch (get_mode_sort(tv->mode)) {
case irms_reference:
if (tv == tv->mode->null) return snprintf(buf, len, "NULL");
- /* fall through */
+ /* FALLTHROUGH */
case irms_int_number:
switch (mode_info->mode_output) {
str = sc_print(tv->value, get_mode_size_bits(tv->mode), SC_OCT, 0);
break;
- case TVO_HEX:
case TVO_NATIVE:
+ prefix = "0x";
+ case TVO_HEX:
default:
str = sc_print(tv->value, get_mode_size_bits(tv->mode), SC_HEX, 0);
break;