projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: Forward VALUE_LVAL when avoiding side effects for STRUCTOP_PTR
[deliverable/binutils-gdb.git]
/
gdb
/
rust-exp.y
diff --git
a/gdb/rust-exp.y
b/gdb/rust-exp.y
index f0c4e6c9eb78a012784c506ccc82d2e655daf9c2..c1a863c465f9820da6e1648cc1fc991d326d9c99 100644
(file)
--- 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 "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"
#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);
{
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;
result->left.op = lhs;
result->right.op = rhs;
@@
-2417,9
+2416,9
@@
convert_ast_to_expression (struct parser_state *state,
}
break;
}
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)
{
if (operation->left.op != NULL)
{
@@
-2437,9
+2436,9
@@
convert_ast_to_expression (struct parser_state *state,
kind = NONE_BOUND_DEFAULT;
}
}
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_longcst (state, kind);
- write_exp_elt_opcode (state, OP_
F90_
RANGE);
+ write_exp_elt_opcode (state, OP_RANGE);
}
break;
}
break;
This page took
0.025615 seconds
and
4
git commands to generate.