diff options
author | Tom Tromey <tromey@adacore.com> | 2023-06-23 09:59:38 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-07-13 11:45:09 -0600 |
commit | 22f6f7979cbb2092db64896df33b02a146076ecb (patch) | |
tree | a8725581b0f9673ff29610a926f7d7287cf933af /gdb/ada-lex.l | |
parent | 1e5ae3d17f02bba07b07e1b6367563cf4d0eff99 (diff) | |
download | gdb-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.l | 2 |
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 |