public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: "Will Newton" <will.newton@imgtec.com>
To: <cgen@sources.redhat.com>
Subject: Gas error messages
Date: Tue, 13 Sep 2005 14:51:00 -0000	[thread overview]
Message-ID: <0D107966AF6D79418315B7C5549F4B5104DFEC@lemail1.le.imgtec.org> (raw)


I'm parsing an operand with a custom parser, e.g.:

(define-operand
   ...
   ...
   (handlers (parse "my_parser"))
)

And then in the .opc file:

Parse_my_parser(...)
{
    if (error)
        return "an error occurred";
}

However, when the error message is returned, instead of printing my
error message, as expected, gas spits out:

test.s:28: Error: unrecognized keyword/register name

Am I doing something wrong or is this a bug?

             reply	other threads:[~2005-09-13 14:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-13 14:51 Will Newton [this message]
2005-09-13 14:56 ` Frank Ch. Eigler
2005-09-13 16:09 Will Newton
2005-09-13 16:17 ` Frank Ch. Eigler
2005-09-14 11:06 Will Newton
2005-09-14 13:59 ` Dave Brolley

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=0D107966AF6D79418315B7C5549F4B5104DFEC@lemail1.le.imgtec.org \
    --to=will.newton@imgtec.com \
    --cc=cgen@sources.redhat.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).