aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lex.l
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-02-29 13:54:19 -0700
committerTom Tromey <tromey@adacore.com>2024-03-21 12:29:49 -0600
commit7e949f08700b077b78e955c653eb4e9455027101 (patch)
tree8eb762c148653a1a000e1bcc5454265466b052d7 /gdb/ada-lex.l
parent7f032bbedf3e66f6695d4df0d149c2e8033224da (diff)
downloadbinutils-7e949f08700b077b78e955c653eb4e9455027101.zip
binutils-7e949f08700b077b78e955c653eb4e9455027101.tar.gz
binutils-7e949f08700b077b78e955c653eb4e9455027101.tar.bz2
Implement Ada 2022 delta aggregates
Ada 2022 includes a "delta aggregates" feature that can sometimes simplify aggregate creation. This patch implements this feature for GDB.
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 828ff9a..c54cd5e 100644
--- a/gdb/ada-lex.l
+++ b/gdb/ada-lex.l
@@ -225,6 +225,7 @@ thread{WHITE}+{DIG} {
abs { return ABS; }
and { return _AND_; }
+delta { return DELTA; }
else { return ELSE; }
in { return IN; }
mod { return MOD; }
@@ -235,6 +236,7 @@ or { return OR; }
others { return OTHERS; }
rem { return REM; }
then { return THEN; }
+with { return WITH; }
xor { return XOR; }
/* BOOLEAN "KEYWORDS" */