From: "Frank Ch. Eigler" <fche@redhat.com>
To: Johan Rydberg <johan.rydberg@netinsight.se>
Cc: cgen@sources.redhat.com
Subject: Re: enums
Date: Wed, 06 Dec 2000 03:16:00 -0000 [thread overview]
Message-ID: <20001206061648.A1107@redhat.com> (raw)
In-Reply-To: <3A2DF94D.908E4C45@netinsight.se>
Hi -
On Wed, Dec 06, 2000 at 09:31:09AM +0100, Johan Rydberg wrote:
: [...]
: I define an enum like this:
: [...]
: (values ("RESET") ("BUSERR" -) ("DPF" -) ("IPF" -)
: ("EXTINT" -) ("ALIGN" -) ("ILLEGAL" -) ("PEINT" -)
: ("DTLBMISS" -) ("ITLBMISS" -) ("RRANGE" -)
: ("SYSCALL" -) ("BREAK" -) ("RESERVED" -))
: [...]
: As you can tell, all enums but the first one is left out.
Is this intentional? Why define the others with value "-" ?
: And if I define the values like this,
:
: (values ("RESET" #x100) ("BUSERR" -) ("DPF" -) ("IPF" -)
: ("EXTINT" -) ("ALIGN" -) ("ILLEGAL" -) ("PEINT" -)
: ("DTLBMISS" -) ("ITLBMISS" -) ("RRANGE" -)
: ("SYSCALL" -) ("BREAK" -) ("RESERVED" -))
:
: I get the following message for CGEN:
: ERROR: In procedure caar:
: ERROR: Wrong type argument in position 1: ()
Just a bug. Could you try running cgen with error backtracing?
(CGENFLAGS="-b"; works for guile 1.3.*)
- FChE
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6LiAgVZbdDOm/ZT0RAliYAJ0VfN82yiOF9Q53Is/g/RcjnFQ5gwCeO3qk
1CthDqyB1BSPI/WolUqcUz0=
=KGcc
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2000-12-06 3:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-06 0:30 enums Johan Rydberg
2000-12-06 3:16 ` Frank Ch. Eigler [this message]
2000-12-06 3:23 ` enums Johan Rydberg
2000-12-06 3:35 ` enums Ben Elliston
2000-12-06 3:38 ` enums Johan Rydberg
2000-12-06 8:55 ` enums Doug Evans
2000-12-06 9:06 ` enums Johan Rydberg
2000-12-06 9:28 ` enums Doug Evans
2000-12-07 6:33 ` enums Johan Rydberg
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=20001206061648.A1107@redhat.com \
--to=fche@redhat.com \
--cc=cgen@sources.redhat.com \
--cc=johan.rydberg@netinsight.se \
/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).