aboutsummaryrefslogtreecommitdiff
path: root/gdb/ch-exp.y
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-12-22 06:32:19 +0000
committerFred Fish <fnf@specifix.com>1992-12-22 06:32:19 +0000
commita9b37611e7f9dd8948c486b6ccecf148c27234a1 (patch)
tree050bab54dc08b8f56340c5f086e8f707eef27987 /gdb/ch-exp.y
parent09f3dc6e0685e87c0713a3ed6781ba970b0bf1be (diff)
downloadgdb-a9b37611e7f9dd8948c486b6ccecf148c27234a1.zip
gdb-a9b37611e7f9dd8948c486b6ccecf148c27234a1.tar.gz
gdb-a9b37611e7f9dd8948c486b6ccecf148c27234a1.tar.bz2
* valprint.c (val_print): Reorganize comment and add note
about dependency on target byte ordering. **** start-sanitize-chill **** * ch-exp.y (value_array_slice): Fix typo. * ch-valprint.c (chill_val_print): Remove C'ism that arrays of byte sized ints are assumed to be char strings and printed with string syntax. In chill, arrays of chars and arrays of bytes/ubytes are distinquishable, and printed appropriately. **** end-sanitize-chill ****
Diffstat (limited to 'gdb/ch-exp.y')
-rw-r--r--gdb/ch-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ch-exp.y b/gdb/ch-exp.y
index ce2bbfe..141463d 100644
--- a/gdb/ch-exp.y
+++ b/gdb/ch-exp.y
@@ -474,7 +474,7 @@ value_array_slice: array_primitive_value '(' lower_element ':' upper_element ')'
{
$$ = 0; /* FIXME */
}
- | array_primitive_value '(' first_element UP slice_size '('
+ | array_primitive_value '(' first_element UP slice_size ')'
{
$$ = 0; /* FIXME */
}