aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/cgen.h
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@geoffk.org>2001-06-14 20:38:42 +0000
committerGeoffrey Keating <geoffk@geoffk.org>2001-06-14 20:38:42 +0000
commit3e890047742a6c96a421700d536a260bcc12a8ec (patch)
tree6a73e43d1c2f06a4da203cf548b85dc95e212984 /include/opcode/cgen.h
parentdc8acb9740b89a3bd10511e53dbf24ad25e1c048 (diff)
downloadgdb-3e890047742a6c96a421700d536a260bcc12a8ec.zip
gdb-3e890047742a6c96a421700d536a260bcc12a8ec.tar.gz
gdb-3e890047742a6c96a421700d536a260bcc12a8ec.tar.bz2
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/cgen.h')
-rw-r--r--include/opcode/cgen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/opcode/cgen.h b/include/opcode/cgen.h
index 8d3c310..c13c4d9 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. */