X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=src%2Fdata%2Fdict-class.h;h=807a107f6311bf7a3c3b73e4ccc2723d55ad855a;hb=54b3aa8432383287c75b9baf954b7bf887126a0c;hp=e3872e81c00fbbc5c7f133297429270d760be1a4;hpb=a9acce47d67e0ab35ce1690e4f1b1ac0121c2d78;p=pspp diff --git a/src/data/dict-class.h b/src/data/dict-class.h index e3872e81c0..807a107f63 100644 --- a/src/data/dict-class.h +++ b/src/data/dict-class.h @@ -30,10 +30,10 @@ masks. */ enum dict_class { - DC_ORDINARY = 0x0001, /* Ordinary identifier. */ - DC_SYSTEM = 0x0002, /* System variable. */ - DC_SCRATCH = 0x0004, /* Scratch variable. */ - DC_ALL = 0x0007 /* All of the above. */ + DC_ORDINARY = 1 << 0, /* Ordinary identifier. */ + DC_SYSTEM = 1 << 1, /* System variable. */ + DC_SCRATCH = 1 << 2, /* Scratch variable. */ +#define DC_ALL (DC_ORDINARY | DC_SYSTEM | DC_SCRATCH) }; enum dict_class dict_class_from_id (const char *name);