X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/c758e6541ca05409b178dd9629e9337494c49890..af4f4d6a77aceba8e2d6f58d15e894df320e7c24:/src/class.h diff --git a/src/class.h b/src/class.h index 7d9a6c7..cfc697c 100644 --- a/src/class.h +++ b/src/class.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: class.h,v 1.4 1998/01/12 16:45:53 mdw Exp $ + * $Id: class.h,v 1.7 2004/04/08 01:36:20 mdw Exp $ * * Handling classes of things nicely * @@ -26,24 +26,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: class.h,v $ - * Revision 1.4 1998/01/12 16:45:53 mdw - * Fix copyright date. - * - * Revision 1.3 1997/09/17 10:14:56 mdw - * Complete rewrite to support class trees. Makes the behaviour of the set - * operators much more logical. - * - * Revision 1.2 1997/08/04 10:24:21 mdw - * Sources placed under CVS control. - * - * Revision 1.1 1997/07/21 13:47:52 mdw - * Initial revision - * - */ - #ifndef CLASS_H #define CLASS_H @@ -58,9 +40,7 @@ #include #include -#ifndef SYM_H -# include "sym.h" -#endif +#include /*----- Data structures ---------------------------------------------------*/ @@ -89,8 +69,8 @@ enum { clNode_any = 0x10, /* Magic type for the `all' class */ clNode_immed = 0x20, /* Immediate data item */ clNode_hash = 0x30, /* Hashtable of values */ + clNode_binop = 0x40, /* Binary operations start here */ clNode_union = 0x40, /* Union of two classes */ - clNode_binop = 0x50, /* Binary operations start here */ clNode_diff = 0x50, /* Difference of two classes */ clNode_isect = 0x60, /* Intersection of two classes */ clNode_mask = 0xF0, /* Mask for picking these out */