This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
Gas error messages
- From: "Will Newton" <will dot newton at imgtec dot com>
- To: <cgen at sources dot redhat dot com>
- Date: Tue, 13 Sep 2005 15:50:47 +0100
- Subject: Gas error messages
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?