Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [FYI] Make the Rust parser pure
Date: Fri, 20 Jul 2018 15:39:00 -0000	[thread overview]
Message-ID: <87pnzh5328.fsf@tromey.com> (raw)
In-Reply-To: <87tvou3p2b.fsf@tromey.com> (Tom Tromey's message of "Fri, 20 Jul	2018 09:27:24 -0600")

>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:

Tom> Actually, I will have to update this, because I tried it again with
Tom> byacc and now it fails.

It only required the appended additional patch, so I am going to check
it in with this change.

I tested it with both bison and byacc.

Tom

diff --git a/gdb/rust-exp.y b/gdb/rust-exp.y
index 7efa0ff05b4..256eabe732a 100644
--- a/gdb/rust-exp.y
+++ b/gdb/rust-exp.y
@@ -113,6 +113,7 @@ typedef std::vector<set_field> rust_set_vector;
 
 %{
 
+struct rust_parser;
 static int rustyylex (YYSTYPE *, rust_parser *);
 static void rustyyerror (rust_parser *parser, const char *msg);
 


      reply	other threads:[~2018-07-20 15:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-20 15:25 Tom Tromey
2018-07-20 15:28 ` Tom Tromey
2018-07-20 15:39   ` Tom Tromey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pnzh5328.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox