)]}'
{
  "commit": "bdcc1de1ecfabc7d2560aa56cbe5425cb43e9cac",
  "tree": "052d9411ca4a306644e193dfbcd5dfee99049291",
  "parents": [
    "d1cffdc3644b21187c3709ae3c9c757f9d59558e"
  ],
  "author": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Thu Jul 07 08:37:10 2022 +0930"
  },
  "committer": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Sat Jul 09 21:21:36 2022 +0930"
  },
  "message": "macro.c: use string hash from hash.h for macro_hash\n\nAnother case of duplicated hash.h code, the only minor difference\nbeing that macro-\u003eformat_hash was created with 7 entries vs. str_hash\nwith 16 entries.\n\n\t* macro.c (macro_init, define_macro): Use str_htab_create.\n\t(do_formals, define_macro, macro_expand_body): Use str_hash_insert\n\t(macro_expand_body): Use str_hash_find and str_hash_delete.\n\t(delete_macro): Likewise.\n\t(sub_actual, macro_expand, check_macro): Use str_hash_find.\n\t(expand_irp): Use str_htab_create and str_hash_insert.\n\t* macro.h (struct macro_struct): Tidy.\n\t(struct macro_hash_entry, macro_hash_entry_t, hash_macro_entry),\n\t(eq_macro_entry, macro_entry_alloc, macro_entry_find),\n\t(struct formal_hash_entry, formal_hash_entry_t),\n\t(hash_formal_entry, eq_formal_entry, formal_entry_alloc),\n\t(formal_entry_find): Delete.\n\t* config/tc-iq2000.c (iq2000_add_macro): Use str_htab_create\n\tand str_hash_insert.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "307b6b0902d7a873bcd26a2a3d84422510019775",
      "old_mode": 33188,
      "old_path": "gas/config/tc-iq2000.c",
      "new_id": "8a9b88f9f4f466b19681733c87e63b75eafe5c98",
      "new_mode": 33188,
      "new_path": "gas/config/tc-iq2000.c"
    },
    {
      "type": "modify",
      "old_id": "3aba78f6bfeedff2afc78169ab802e0ed7e7db71",
      "old_mode": 33188,
      "old_path": "gas/macro.c",
      "new_id": "b360b2ec038e314349daf11a41d01eb5dde8391f",
      "new_mode": 33188,
      "new_path": "gas/macro.c"
    },
    {
      "type": "modify",
      "old_id": "893b0c6660b606877c5db7e5b9d3c67381df1786",
      "old_mode": 33188,
      "old_path": "gas/macro.h",
      "new_id": "227c9cb5c93522c2e92902f875e67ecef710cb0b",
      "new_mode": 33188,
      "new_path": "gas/macro.h"
    }
  ]
}
