diff options
author | Jan Beulich <jbeulich@novell.com> | 2005-05-17 14:02:30 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2005-05-17 14:02:30 +0000 |
commit | 40a4d956e2fd1156b385db42f51ebec066e4f537 (patch) | |
tree | 8bb8a0941f95867b24d79c0443ce64f572e4a615 /gas/read.h | |
parent | 7e8aeb9a48ea79d386d9981ccc42f0fda6b6a3ed (diff) | |
download | gdb-40a4d956e2fd1156b385db42f51ebec066e4f537.zip gdb-40a4d956e2fd1156b385db42f51ebec066e4f537.tar.gz gdb-40a4d956e2fd1156b385db42f51ebec066e4f537.tar.bz2 |
gas/
2005-05-17 Jan Beulich <jbeulich@novell.com>
* read.c (_find_end_of_line): New.
(find_end_of_line): New.
(HANDLE_CONDITIONAL_ASSEMBLY): Use it.
(read_a_source_file): Use it.
(s_globl): Use it.
(s_macro): Use it.
(get_line_sb): Use it.
(s_errwarn): Replace discard_rest_of_line by ignore_rest_of_line.
(s_comm_internal): Likewise.
(s_lsym): Likewise.
(s_macro): Likewise.
(s_ignore): Use ignore_rest_of_line.
* read.h (find_end_of_line): Prototype.
(discard_rest_of_line): Remove prototype. #define to
ignore_rest_of_line.
gas/testsuite/
2005-05-17 Jan Beulich <jbeulich@novell.com>
* gas/mmix/err-byte1.s: Adjust expected error text on line 10.
Diffstat (limited to 'gas/read.h')
-rw-r--r-- | gas/read.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -56,6 +56,7 @@ extern char lex_type[]; extern char is_end_of_line[]; extern int is_it_end_of_statement (void); +extern char *find_end_of_line (char *, int); extern int target_big_endian; @@ -113,7 +114,7 @@ extern void emit_expr (expressionS *exp, unsigned int nbytes); extern void equals (char *sym_name, int reassign); extern void float_cons (int float_type); extern void ignore_rest_of_line (void); -extern void discard_rest_of_line (void); +#define discard_rest_of_line ignore_rest_of_line extern int output_leb128 (char *, valueT, int sign); extern void pseudo_set (symbolS * symbolP); extern void read_a_source_file (char *name); |