summaryrefslogtreecommitdiff
path: root/gas/read.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-06-05 18:19:09 +0000
committerRichard Henderson <rth@redhat.com>1999-06-05 18:19:09 +0000
commitb3dc0d0492d90feb3678f43ce687fcf9a5a6a5ab (patch)
tree4b4bde46e630be6f6b6f323e6a4ab1fbcba0bbe2 /gas/read.h
parentaf81b7d64e968306829fe02bdbd1ab1b090fca20 (diff)
downloadbinutils-redhat-b3dc0d0492d90feb3678f43ce687fcf9a5a6a5ab.tar.gz
* dwarf2dbg.c (*): Convert to K&R + prototypes.
(dwarf2_gen_line_info): Kill unused variables. (dwarf2_finish): Likewise. (dwarf2_where): Likewise. (dwarf2_directive_file): If we've only got a string, hand off to s_app_file. * ecoff.c: Move the include of ecoff.h. * symbols.h (S_IS_FUNCTION): Prototype. * read.c (LEX_HASH): Supply a default. (lex_type): Use it. (s_globl): Update `c' after skipping whitespace. * read.h (LEX_END_NAME, is_name_ender): New. * expr.c (get_symbol_end): Respect it.
Diffstat (limited to 'gas/read.h')
-rw-r--r--gas/read.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/read.h b/gas/read.h
index 61e20172be..ae3b103686 100644
--- a/gas/read.h
+++ b/gas/read.h
@@ -35,11 +35,14 @@ extern char *input_line_pointer;/* -> char we are parsing now. */
#define LEX_NAME (1) /* may continue a name */
#define LEX_BEGIN_NAME (2) /* may begin a name */
+#define LEX_END_NAME (4) /* ends a name */
#define is_name_beginner(c) \
( lex_type[(unsigned char) (c)] & LEX_BEGIN_NAME )
#define is_part_of_name(c) \
( lex_type[(unsigned char) (c)] & LEX_NAME )
+#define is_name_ender(c) \
+ ( lex_type[(unsigned char) (c)] & LEX_END_NAME )
#ifndef is_a_char
#define CHAR_MASK (0xff)