* cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro.
authorDoug Evans <dje@google.com>
Wed, 18 Feb 1998 05:46:37 +0000 (05:46 +0000)
committerDoug Evans <dje@google.com>
Wed, 18 Feb 1998 05:46:37 +0000 (05:46 +0000)
include/opcode/ChangeLog
include/opcode/cgen.h

index 67d2323e015e92b7b5ba19db3dce4d35ac879a1e..a0cf63a082cdf5ee7ca01641c30e1f431122034d 100644 (file)
@@ -1,3 +1,7 @@
+Tue Feb 17 21:42:56 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro.
+
 Tue Feb 17 16:00:56 1998  Doug Evans  <devans@seba.cygnus.com>
 
        * cgen.h (cgen_insert_fn): Change type of result to const char *.
index d20efd3f06911e46c7d30d399ca6949109df5868..ffe8f6f8403bef7cf9b5516dadaa83f6e0603211 100644 (file)
@@ -608,6 +608,7 @@ typedef struct
 #define CGEN_SYNTAX_CHAR_P(c) ((c) < 128)
 #define CGEN_SYNTAX_CHAR(c) (c)
 #define CGEN_SYNTAX_FIELD(c) ((c) - 128)
+#define CGEN_SYNTAX_MAKE_FIELD(c) ((c) + 128)
 
 /* ??? I can't currently think of any case where the mnemonic doesn't come
    first [and if one ever doesn't building the hash tables will be tricky].