summaryrefslogtreecommitdiff
path: root/gas/read.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-05-17 14:02:30 +0000
committerJan Beulich <jbeulich@novell.com>2005-05-17 14:02:30 +0000
commit2faa79b47ea36dacc7e5bf68f3f3b37437a49107 (patch)
treeedc7a946bde9d62019817ecad9de7d108644d569 /gas/read.h
parent27b8f71d5c55b43eb76422c9df92f9da7500ca6a (diff)
downloadbinutils-redhat-2faa79b47ea36dacc7e5bf68f3f3b37437a49107.tar.gz
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.h3
1 files changed, 2 insertions, 1 deletions
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);