* cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro.

This commit is contained in:
Doug Evans 1998-02-18 05:46:37 +00:00
parent 8dcc896d0e
commit deaa05853b
2 changed files with 5 additions and 0 deletions

View 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 *.

View 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].