Update comments to TERNOP_SLICE
authorYao Qi <yao@codesourcery.com>
Tue, 15 Apr 2014 03:39:26 +0000 (11:39 +0800)
committerYao Qi <yao@codesourcery.com>
Sun, 20 Jul 2014 19:46:43 +0000 (03:46 +0800)
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-20  Yao Qi  <yao@codesourcery.com>

* std-operator.def: Update comments to TERNOP_SLICE.

gdb/ChangeLog
gdb/std-operator.def

index 0f258a0..e25e944 100644 (file)
@@ -1,5 +1,9 @@
 2014-07-20  Yao Qi  <yao@codesourcery.com>
 
+       * std-operator.def: Update comments to TERNOP_SLICE.
+
+2014-07-20  Yao Qi  <yao@codesourcery.com>
+
        * std-operator.def: Remove BINOP_RANGE.
        * breakpoint.c (watchpoint_exp_is_const): Update.
        * expprint.c (dump_subexp_body_standard): Likewise.
index c33a287..24c3a2b 100644 (file)
@@ -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,...].