Branch: Tag:

2012-10-23

2012-10-23 19:19:39 by Arne Goedeke <el@laramies.com>

use mapping macros

979:    INT32 e;    struct keypair *k;    NEW_MAPPING_LOOP((struct mapping_data *) descblock) -  if (&k->ind == (struct svalue *) location) { +  if (&keypair_ind(k) == (struct svalue *) location) {    fprintf(stderr, "%*s **In index ", indent, ""); -  safe_print_svalue (stderr, &k->ind); +  safe_print_svalue (stderr, &keypair_ind(k));    fputc('\n', stderr);    break;    } -  else if (&k->val == (struct svalue *) location) { +  else if (&keypair_val(k) == (struct svalue *) location) {    fprintf(stderr, "%*s **In value with index ", indent, ""); -  safe_print_svalue (stderr, &k->ind); +  safe_print_svalue (stderr, &keypair_ind(k));    fputc('\n', stderr);    break;    }