aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lex.l
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-02-22 12:56:09 -0700
committerTom Tromey <tromey@adacore.com>2022-04-04 12:46:09 -0600
commit02a8d05fc67915ada76b45f9f10b11baf57d5278 (patch)
treedf16372bb09613b4aee4d178517b1adadf6e7026 /gdb/ada-lex.l
parent67700be2867e6f03d7e0891a47429aab2b879551 (diff)
downloadgdb-02a8d05fc67915ada76b45f9f10b11baf57d5278.zip
gdb-02a8d05fc67915ada76b45f9f10b11baf57d5278.tar.gz
gdb-02a8d05fc67915ada76b45f9f10b11baf57d5278.tar.bz2
Remove the Ada DOT_ALL token
The Ada parser has a DOT_ALL token to represent ".all", and another token to represent other ".<identifier>" forms. However, for completion it is a bit more convenient to unify these cases, so this patch removes DOT_ALL.
Diffstat (limited to 'gdb/ada-lex.l')
-rw-r--r--gdb/ada-lex.l2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l
index 40e450b..9e35776 100644
--- a/gdb/ada-lex.l
+++ b/gdb/ada-lex.l
@@ -289,8 +289,6 @@ false { return FALSEKEYWORD; }
}
}
-"."{WHITE}*all { return DOT_ALL; }
-
"."{WHITE}*{ID} {
yylval.sval = processId (yytext+1, yyleng-1);
return DOT_ID;