diff options
author | Tom Tromey <tromey@adacore.com> | 2023-04-28 08:23:00 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-05-23 13:57:54 -0600 |
commit | b5688cda0ec49822b29cecab9d08460bbf3b1a02 (patch) | |
tree | 0823dfe729d46164bf1e45a24c65360cc7f476af /gdb/rust-parse.c | |
parent | b8c03634d6537ee7ad068ab840b6e78483aaca80 (diff) | |
download | binutils-b5688cda0ec49822b29cecab9d08460bbf3b1a02.zip binutils-b5688cda0ec49822b29cecab9d08460bbf3b1a02.tar.gz binutils-b5688cda0ec49822b29cecab9d08460bbf3b1a02.tar.bz2 |
Simplify parser_state constructor
This simplifies the parser_state constructor by having it accept a
parser_flags parameter.
Diffstat (limited to 'gdb/rust-parse.c')
-rw-r--r-- | gdb/rust-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rust-parse.c b/gdb/rust-parse.c index 4271696..4b3348d 100644 --- a/gdb/rust-parse.c +++ b/gdb/rust-parse.c @@ -2310,7 +2310,7 @@ rust_lex_tests (void) { /* Set up dummy "parser", so that rust_type works. */ struct parser_state ps (language_def (language_rust), target_gdbarch (), - nullptr, 0, 0, nullptr, 0, nullptr, false); + nullptr, 0, 0, nullptr, 0, nullptr); rust_parser parser (&ps); rust_lex_test_one (&parser, "", 0); |