John Darrington <[EMAIL PROTECTED]> writes:

> The "domain" field is roughly equivalent to our class member, so
> converting between the two will be resonably straightforward.  But the
> "code" member has no equivalent. It needs to be a unique number for
> each error message.
>
> I'm not sure how we'd implement that.  One idea would be to  have it
> initialsed whenever the function msg is called: Change msg to a macro,
> and initialise code to a hash of the __FILE__, __LINE__ combination.

What does the "code" member actually get used for?  i.e. is there
a reason we should actually care that it is unique?
-- 
Ben Pfaff 
email: [EMAIL PROTECTED]
web: http://benpfaff.org


_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to