* eval.c (evaluate_subexp): Add case MULTI_SUBSCRIPT.
authorFred Fish <fnf@specifix.com>
Sat, 2 Jan 1993 20:32:01 +0000 (20:32 +0000)
committerFred Fish <fnf@specifix.com>
Sat, 2 Jan 1993 20:32:01 +0000 (20:32 +0000)
commit54bbbfb43300a2ca9ef3509e9076caa1776970d1
tree86109f7c0f1730cf10d8332153359774397ea0cf
parentea81b10d1eb802c8270a758d5f6017b56e3388ca
* eval.c (evaluate_subexp):  Add case MULTI_SUBSCRIPT.
* expprint.c (print_subexp):  Rename BINOP_MULTI_SUBSCRIPT to
MULTI_SUBSCRIPT.
* expprint.c (dump_expression):  New function for dumping
expression vectors during gdb debugging.
* expression.h (BINOP_MULTI_SUBSCRIPT):  Name changed to
MULTI_SUBSCRIPT and moved out of BINOP range.
* expression.h (DUMP_EXPRESSION):  New macro that calls
dump_expression if DEBUG_EXPRESSIONS is defined.
* m2-exp.y (BINOP_MULTI_SUBSCRIPT):  Changed to MULTI_SUBSCRIPT.
* parse.c (length_of_subexp, prefixify_subexp):  Change
BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT.
* parse.c (parse_exp_1):  Call DUMP_EXPRESSION before and after
prefixify'ing the expression.
* printcmd.c (print_command_1):  Add comment.
**** start-sanitize-chill ****
* ch-exp.y (expression_list):  Add useful actions.
* ch-exp.y (value_array_element):  Add useful actions.
* ch-exp.y (array_primitive_value):  Add production.
* ch-exp.y (yylex):  Recognize ',' as a token.
**** end-sanitize-chill ****
gdb/ChangeLog
gdb/ch-exp.y
gdb/eval.c
gdb/expprint.c
gdb/expression.h
gdb/m2-exp.y
gdb/parse.c