diff options
author | Geoffrey Keating <geoffk@geoffk.org> | 2001-06-14 20:38:42 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@geoffk.org> | 2001-06-14 20:38:42 +0000 |
commit | cf8810d4a96085b90248b4751fa2c92b3142f29b (patch) | |
tree | 9f19a21059de3b661bee5f66497c52c900004510 /include/opcode | |
parent | ded69fe21914009f90888c90f81641549dac5042 (diff) | |
download | binutils-redhat-cf8810d4a96085b90248b4751fa2c92b3142f29b.tar.gz |
Index: opcodes/ChangeLog
2001-06-13 Geoffrey Keating <geoffk@redhat.com>
* cgen-asm.c (cgen_parse_keyword): When looking for the
boundaries of a keyword, allow any special characters
that are actually in one of the allowed keyword.
* cgen-opc.c (cgen_keyword_add): Add any special characters
to the nonalpha_chars field.
Index: cgen/ChangeLog
2001-06-13 Geoffrey Keating <geoffk@redhat.com>
* desc.scm (<keyword> 'gen-defn): Add extra zero into
CGEN_KEYWORD_ENTRY initializers.
Index: include/opcode/ChangeLog
2001-06-13 Geoffrey Keating <geoffk@redhat.com>
* cgen.h (cgen_keyword): Add nonalpha_chars field.
Diffstat (limited to 'include/opcode')
-rw-r--r-- | include/opcode/ChangeLog | 4 | ||||
-rw-r--r-- | include/opcode/cgen.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index ed883d0198..71c2dac75b 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2001-06-14 Geoffrey Keating <geoffk@redhat.com> + + * cgen.h (cgen_keyword): Add nonalpha_chars field. + 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> * mips.h (CPU_R12000): Define. diff --git a/include/opcode/cgen.h b/include/opcode/cgen.h index 8d3c310ed7..c13c4d9e8a 100644 --- a/include/opcode/cgen.h +++ b/include/opcode/cgen.h @@ -513,6 +513,11 @@ typedef struct cgen_keyword /* Pointer to null keyword "" entry if present. */ const CGEN_KEYWORD_ENTRY *null_entry; + + /* String containing non-alphanumeric characters used + in keywords. + At present, the highest number of entries used is 1. */ + char nonalpha_chars[8]; } CGEN_KEYWORD; /* Structure used for searching. */ |