commit | 0a2304a04925e43a50a345fb6a0b0c8ba180a973 | [log] [tgz] |
---|---|---|
author | Ronan Desplanques <desplanques@adacore.com> | Mon Oct 31 18:08:37 2022 +0100 |
committer | Marc Poulhiès <poulhies@adacore.com> | Mon Nov 14 14:46:50 2022 +0100 |
tree | 740cad554924d0efe83e69e9d69298d65211bda6 | |
parent | 442886a99dae94012575bcc1cd3407284da42081 [diff] |
ada: Fix non-capturing parentheses handling Before this patch, non-capturingly parenthesized expressions with more than one branch were processed incorrectly when part of a branch followed by another branch. This patch fixes this by aligning the handling of non-capturing parentheses with the handling of regular parentheses. gcc/ada/ * libgnat/s-regpat.adb (Parse): Fix handling of non-capturing parentheses.