X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Frust-exp.y;h=c1a863c465f9820da6e1648cc1fc991d326d9c99;hb=01739a3b6a564f6552acf6c01617aa21ab4d8833;hp=f0c4e6c9eb78a012784c506ccc82d2e655daf9c2;hpb=0bdfa368bc8dbea2f39706e34306c9b67883bbb1;p=external%2Fbinutils.git diff --git a/gdb/rust-exp.y b/gdb/rust-exp.y index f0c4e6c..c1a863c 100644 --- a/gdb/rust-exp.y +++ b/gdb/rust-exp.y @@ -26,7 +26,6 @@ #include "block.h" #include "charset.h" #include "cp-support.h" -#include "f-lang.h" #include "gdb_obstack.h" #include "gdb_regex.h" #include "rust-lang.h" @@ -1787,7 +1786,7 @@ ast_range (const struct rust_op *lhs, const struct rust_op *rhs) { struct rust_op *result = OBSTACK_ZALLOC (&work_obstack, struct rust_op); - result->opcode = OP_F90_RANGE; + result->opcode = OP_RANGE; result->left.op = lhs; result->right.op = rhs; @@ -2417,9 +2416,9 @@ convert_ast_to_expression (struct parser_state *state, } break; - case OP_F90_RANGE: + case OP_RANGE: { - enum f90_range_type kind = BOTH_BOUND_DEFAULT; + enum range_type kind = BOTH_BOUND_DEFAULT; if (operation->left.op != NULL) { @@ -2437,9 +2436,9 @@ convert_ast_to_expression (struct parser_state *state, kind = NONE_BOUND_DEFAULT; } } - write_exp_elt_opcode (state, OP_F90_RANGE); + write_exp_elt_opcode (state, OP_RANGE); write_exp_elt_longcst (state, kind); - write_exp_elt_opcode (state, OP_F90_RANGE); + write_exp_elt_opcode (state, OP_RANGE); } break;