From 40a4d956e2fd1156b385db42f51ebec066e4f537 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 17 May 2005 14:02:30 +0000 Subject: gas/ 2005-05-17 Jan Beulich * 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 * gas/mmix/err-byte1.s: Adjust expected error text on line 10. --- gas/read.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gas/read.h') diff --git a/gas/read.h b/gas/read.h index 3510945e32..87070aff2b 100644 --- a/gas/read.h +++ b/gas/read.h @@ -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); -- cgit v1.2.1