aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lex.l
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-06-23 09:59:38 -0600
committerTom Tromey <tromey@adacore.com>2023-07-13 11:45:09 -0600
commit22f6f7979cbb2092db64896df33b02a146076ecb (patch)
treea8725581b0f9673ff29610a926f7d7287cf933af /gdb/ada-lex.l
parent1e5ae3d17f02bba07b07e1b6367563cf4d0eff99 (diff)
downloadgdb-22f6f7979cbb2092db64896df33b02a146076ecb.zip
gdb-22f6f7979cbb2092db64896df33b02a146076ecb.tar.gz
gdb-22f6f7979cbb2092db64896df33b02a146076ecb.tar.bz2
Implement 'Enum_Val and 'Enum_Rep
This patch implements the Ada 2022 attributes 'Enum_Val and 'Enum_Rep. Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Diffstat (limited to 'gdb/ada-lex.l')
-rw-r--r--gdb/ada-lex.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l
index 8c0e767..0547b70 100644
--- a/gdb/ada-lex.l
+++ b/gdb/ada-lex.l
@@ -684,6 +684,8 @@ attributes[] = {
{ "size", TICK_SIZE },
{ "tag", TICK_TAG },
{ "val", TICK_VAL },
+ { "enum_rep", TICK_ENUM_REP },
+ { "enum_val", TICK_ENUM_VAL },
};
/* Return the syntactic code corresponding to the attribute name or