)]}'
{
  "commit": "b1665ceab362fafb0322e201261078eedb9421ec",
  "tree": "0b48dbfee24836c947ea9c4070de55a41576fd89",
  "parents": [
    "073a51b03ab076928878b1093d403fd1f7621b81"
  ],
  "author": {
    "name": "Gary Dismukes",
    "email": "dismukes@adacore.com",
    "time": "Wed Jan 21 23:35:56 2026 +0000"
  },
  "committer": {
    "name": "Eric Botcazou",
    "email": "ebotcazou@adacore.com",
    "time": "Thu May 28 15:57:23 2026 +0200"
  },
  "message": "ada: Parsing error on declare expr in expression default for generic formal function\n\nThe compiler incorrectly issues syntax errors for a generic formal function\nwith default given by an expression (a GNAT extension) when the expression\nis a declare_expression.  This is fixed by calling P_Expression_If_OK rather\nthan P_Expression to parse the expression, which properly handles parsing\ndeclare_expressions without parentheses (but still requires parentheses to\nenclose the expression).\n\ngcc/ada/ChangeLog:\n\n\t* par.adb (P_Expression_If_OK): Add declare expression to spec comment.\n\t* par-ch4.adb (P_Expression_If_OK): Add declare expression to comments.\n\t* par-ch12.adb (P_Formal_Subprogram_Declaration): Call\n\tP_Expression_If_OK rather than P_Expression.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3b9cb3c0355d4990f4f311d0369c10e9c91ae7d4",
      "old_mode": 33188,
      "old_path": "gcc/ada/par-ch12.adb",
      "new_id": "07495c47d4a7a1849cf8337cf200589ed6c94790",
      "new_mode": 33188,
      "new_path": "gcc/ada/par-ch12.adb"
    },
    {
      "type": "modify",
      "old_id": "1eb1fe6b9024e48863883f24d634781be00094dd",
      "old_mode": 33188,
      "old_path": "gcc/ada/par-ch4.adb",
      "new_id": "58bac211e781646aad72fcb63fef0e510f17d0e8",
      "new_mode": 33188,
      "new_path": "gcc/ada/par-ch4.adb"
    },
    {
      "type": "modify",
      "old_id": "c0fada1f5d1be1ab805bee7993e1dca2c7d95e84",
      "old_mode": 33188,
      "old_path": "gcc/ada/par.adb",
      "new_id": "4fe825b57af2d1df5cf0b172b16c102e7ac9ed52",
      "new_mode": 33188,
      "new_path": "gcc/ada/par.adb"
    }
  ]
}
