This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 3/4] Update comments to TERNOP_SLICE
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Wed, 16 Jul 2014 13:15:41 +0800
- Subject: [PATCH 3/4] Update comments to TERNOP_SLICE
- Authentication-results: sourceware.org; auth=none
- References: <1405487742-32613-1-git-send-email-yao at codesourcery dot com>
TERNOP_SLICE was added for language Chill, but it is used for Ada and D later.
Since language Chill was removed from GDB, TERNOP_SLICE is only used for
Ada and D. This patch is to update its comments.
gdb:
2014-07-15 Yao Qi <yao@codesourcery.com>
* std-operator.def: Update comments to TERNOP_SLICE.
---
gdb/std-operator.def | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gdb/std-operator.def b/gdb/std-operator.def
index c33a287..24c3a2b 100644
--- a/gdb/std-operator.def
+++ b/gdb/std-operator.def
@@ -93,8 +93,8 @@ OP (BINOP_END)
/* Operates on three values computed by following subexpressions. */
OP (TERNOP_COND) /* ?: */
-/* A sub-string/sub-array. (the deleted) Chill syntax:
- OP1(OP2:OP3). Return elements OP2 through OP3 of OP1. */
+/* A sub-string/sub-array. Ada syntax: OP1(OP2..OP3). Return
+ elements OP2 through OP3 of OP1. */
OP (TERNOP_SLICE)
/* Multidimensional subscript operator, such as Modula-2 x[a,b,...].
--
1.9.0