On Aug 15, 2005, at 12:18 PM, Cyrus Harmon wrote:
> Currently, the sb-alien code throws an error when one attempts to
> define an enum in which multiple keys refer to the same value. This
> is reasonable, but poses a minor problem when one wants to map a C
> enum to an sb-alien enum. Yes, one option would be to just use one
> of the keywords, but another option would be to change the mulitple
> element value error to a warning and spit back the first keyword
> when one derefs the alien with the value in question.
> The following patch does this and tests this in tests/
> I know this may seem rather minor, but I think it will make things
> easier for folks who are attempting to automagically expose big
> hairy C libraries to SCBL.
Thanks, merged in 0.9.4.11.