Branch: Tag:

2019-08-03

2019-08-03 08:56:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

encode_value: Minor change in semantics of .bignum.

The actual value data is no longer part of .bignum.

This is to make it simpler to generate identical output
for decode_value().

1009:    mpz_get_str( buffer, 36, i );    l = strlen(buffer);    code_entry(TAG_OBJECT, 2, data); +  EDB(1, { +  ENCODE_WERR(".bignum"); +  });    code_entry(TAG_STRING, l, data); -  +  EDB(1, { +  ENCODE_WERR(".string %ld", l); +  });    addstr(buffer,l);    EDB(1, { -  ENCODE_WERR(".bignum"); +  ENCODE_FLUSH();    });    free(buffer);    break;