diff options
author | Bob Duff <duff@adacore.com> | 2020-02-28 09:46:07 -0500 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-09 04:09:02 -0400 |
commit | 059a704a4195f49c299ab0e92f772df39a27971a (patch) | |
tree | 169f1653795111651eacebf1a27bcc80f1213c1d /gcc/debug.c | |
parent | 338c32f1375440aaeb66c65d5d40906a388d20c8 (diff) | |
download | gcc-059a704a4195f49c299ab0e92f772df39a27971a.zip gcc-059a704a4195f49c299ab0e92f772df39a27971a.tar.gz gcc-059a704a4195f49c299ab0e92f772df39a27971a.tar.bz2 |
[Ada] gnatbind: Correct assertions in Add_Edge_Kind_Check
2020-06-09 Bob Duff <duff@adacore.com>
gcc/ada/
* bindo-graphs.ads (Library_Graph_Edge_Kind): Reorder enumerals
to reflect the order of adding edges. Clarify comments.
* bindo-graphs.adb (Add_Edge_Kind_Check): Correct the
assertions. Reorder the "when"s to match the order of adding
edges, and therefore the order of enumerals in type
Library_Graph_Edge_Kind. Change names to "Old_" and "New_" to
clarify what's what. Combine Invocation_Edge into the "<="
test. Fix the "raise Program_Error" message, which was
backwards.
Diffstat (limited to 'gcc/debug.c')
0 files changed, 0 insertions, 0 deletions