aboutsummaryrefslogtreecommitdiff
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
commit58b5739a4e998799ab1b3bf8bb7720d176f50b72 (patch)
treee033a18f022f2c39bd6496cafdb4740f4a38de24 /gas/read.h
parent993142d5a451c988ba5aceb164d49cbce681ea9a (diff)
downloadgdb-58b5739a4e998799ab1b3bf8bb7720d176f50b72.zip
gdb-58b5739a4e998799ab1b3bf8bb7720d176f50b72.tar.gz
gdb-58b5739a4e998799ab1b3bf8bb7720d176f50b72.tar.bz2
* 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 61e2017..ae3b103 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)