diff options
author | Richard Henderson <rth@redhat.com> | 1999-06-05 18:19:09 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 1999-06-05 18:19:09 +0000 |
commit | 58b5739a4e998799ab1b3bf8bb7720d176f50b72 (patch) | |
tree | e033a18f022f2c39bd6496cafdb4740f4a38de24 /gas/expr.c | |
parent | 993142d5a451c988ba5aceb164d49cbce681ea9a (diff) | |
download | gdb-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/expr.c')
-rw-r--r-- | gas/expr.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1863,9 +1863,13 @@ get_symbol_end () /* We accept \001 in a name in case this is being called with a constructed string. */ if (is_name_beginner (c = *input_line_pointer++) || c == '\001') - while (is_part_of_name (c = *input_line_pointer++) - || c == '\001') - ; + { + while (is_part_of_name (c = *input_line_pointer++) + || c == '\001') + ; + if (is_name_ender (c)) + c = *input_line_pointer++; + } *--input_line_pointer = 0; return (c); } |