Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: "Theodore A. Roth" <troth@openavr.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFC] broken build using bison-1.75
Date: Thu, 07 Nov 2002 12:14:00 -0000	[thread overview]
Message-ID: <vt27kfpducp.fsf@zenia.red-bean.com> (raw)
In-Reply-To: <vt2d6phduqv.fsf@zenia.red-bean.com>


Possibly confusing typo in my message:

Jim Blandy <jimb@redhat.com> writes:
> If you write a rule without a final action, like the start rule from
> p-exp.y:
> 
>     start   :       { current_type = NULL;
>                       search_field = 0;
>                     }
>                     normal_start;
> 
> then Bison inserts a default final action, { $$ = $1; }.  However, in
> this example, that's a bad idea, since $1 refers to the mid-rule
> action `{ current_type = ... }', and that has to type.  That's why the

I meant to say:                             has no type

> error message says:
> 
> /home/js/MIPS/toolchain/mips-linux-gdb/gdb/../../gdb+dejagnu-5.3-branch-20021031/gdb/c-exp.y:248.5-251.3: type clash (`voidval' `') on default action
> 
> I think that's complaining that there's a clash between the type of
> `start', which is `voidval', and the type of the mid-rule action,
> which is being printed as `'.


  reply	other threads:[~2002-11-07 20:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-05  9:54 Theodore A. Roth
2002-11-06 12:23 ` Michael Snyder
2002-11-06 12:54   ` Theodore A. Roth
2002-11-06 13:25     ` Michael Snyder
2002-11-07  9:47     ` Jim Blandy
2002-11-07 12:05 ` Jim Blandy
2002-11-07 12:14   ` Jim Blandy [this message]
2002-11-06 13:38 Johannes Stezenbach
2002-11-06 13:57 ` Theodore A. Roth
2002-11-06 14:05   ` Johannes Stezenbach

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=vt27kfpducp.fsf@zenia.red-bean.com \
    --to=jimb@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=troth@openavr.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