Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
[deliverable/binutils-gdb.git] / gas / read.h
index 01351d6949f2f3bba990f8bd25767582eb834245..e2f51ef666f1ee2de321484c0f4c4c2b67b5ba73 100644 (file)
@@ -1,31 +1,30 @@
 /* read.h - of read.c
-   Copyright (C) 1986, 1990 Free Software Foundation, Inc.
 
-This file is part of GAS, the GNU Assembler.
+   Copyright (C) 1986, 1990, 1992 Free Software Foundation, Inc.
 
-GAS is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 1, or (at your option)
-any later version.
+   This file is part of GAS, the GNU Assembler.
 
-GAS is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
+   GAS is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
 
-You should have received a copy of the GNU General Public License
-along with GAS; see the file COPYING.  If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+   GAS is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
 
-/* $Id$ */
+   You should have received a copy of the GNU General Public License
+   along with GAS; see the file COPYING.  If not, write to
+   the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
-extern char *input_line_pointer; /* -> char we are parsing now. */
+extern char *input_line_pointer;/* -> char we are parsing now. */
 
 #define PERMIT_WHITESPACE      /* Define to make whitespace be allowed in */
-                               /* many syntactically unnecessary places. */
-                               /* Normally undefined. For compatibility */
-                               /* with ancient GNU cc. */
-#undef PERMIT_WHITESPACE
+/* many syntactically unnecessary places. */
+/* Normally undefined. For compatibility */
+/* with ancient GNU cc. */
+/* #undef PERMIT_WHITESPACE */
 
 #ifdef PERMIT_WHITESPACE
 #define SKIP_WHITESPACE() {if (* input_line_pointer == ' ') ++ input_line_pointer;}
@@ -34,11 +33,13 @@ extern char *input_line_pointer; /* -> char we are parsing now. */
 #endif
 
 
-#define        LEX_NAME        (1)     /* may continue a name */                     
-#define LEX_BEGIN_NAME (2)     /* may begin a name */                        
-                                                                             
-#define is_name_beginner(c)     ( lex_type[c] & LEX_BEGIN_NAME )
-#define is_part_of_name(c)      ( lex_type[c] & LEX_NAME       )
+#define        LEX_NAME        (1)     /* may continue a name */
+#define LEX_BEGIN_NAME (2)     /* may begin 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       )
 
 #ifndef is_a_char
 #define CHAR_MASK      (0xff)
@@ -46,92 +47,75 @@ extern char *input_line_pointer; /* -> char we are parsing now. */
 #define is_a_char(c)   (((unsigned)(c)) <= CHAR_MASK)
 #endif /* is_a_char() */
 
-extern const char lex_type[];
+extern char lex_type[];
 extern char is_end_of_line[];
 
-#ifdef __STDC__
-
-char *demand_copy_C_string(int *len_pointer);
-char get_absolute_expression_and_terminator(long *val_pointer);
-long get_absolute_expression(void);
-void add_include_dir(char *path);
-void big_cons(int nbytes);
-void cons(unsigned int nbytes);
-void demand_empty_rest_of_line(void);
-void equals(char *sym_name);
-void float_cons(int float_type);
-void ignore_rest_of_line(void);
-void pseudo_set(symbolS *symbolP);
-void read_a_source_file(char *name);
-void read_begin(void);
-void s_abort(void);
-void s_align_bytes(int arg);
-void s_align_ptwo(void);
-void s_app_file(void);
-void s_comm(void);
-void s_data(void);
-void s_else(int arg);
-void s_end(int arg);
-void s_endif(int arg);
-void s_fill(void);
-void s_globl(void);
-void s_if(int arg);
-void s_ifdef(int arg);
-void s_ifeqs(int arg);
-void s_ignore(int arg);
-void s_include(int arg);
-void s_lcomm(int needs_align);
-void s_lsym(void);
-void s_org(void);
-void s_set(void);
-void s_space(void);
-void s_text(void);
-
-#else /* __STDC__ */
-
-char *demand_copy_C_string();
-char get_absolute_expression_and_terminator();
-long get_absolute_expression();
-void add_include_dir();
-void big_cons();
-void cons();
-void demand_empty_rest_of_line();
-void equals();
-void float_cons();
-void ignore_rest_of_line();
-void pseudo_set();
-void read_a_source_file();
-void read_begin();
-void s_abort();
-void s_align_bytes();
-void s_align_ptwo();
-void s_app_file();
-void s_comm();
-void s_data();
-void s_else();
-void s_end();
-void s_endif();
-void s_fill();
-void s_globl();
-void s_if();
-void s_ifdef();
-void s_ifeqs();
-void s_ignore();
-void s_include();
-void s_lcomm();
-void s_lsym();
-void s_org();
-void s_set();
-void s_space();
-void s_text();
-
-#endif /* __STDC__ */
-
-/*
- * Local Variables:
- * comment-column: 0
- * fill-column: 131
- * End:
- */
-
-/* end: read.h */
+extern int target_big_endian;
+
+/* These are initialized by the CPU specific target files (tc-*.c).  */
+extern const char comment_chars[];
+extern const char line_comment_chars[];
+extern const char line_separator_chars[];
+
+/* This flag whether to generate line info for asm file */
+extern int generate_asm_lineno;
+
+/* The offset in the absolute section.  */
+extern addressT abs_section_offset;
+
+/* The MRI label on a line, used by some of the MRI pseudo-ops.  */
+extern symbolS *mri_line_label;
+
+/* This is used to support MRI common sections.  */
+extern symbolS *mri_common_symbol;
+
+unsigned int get_stab_string_offset PARAMS ((const char *string,
+                                            const char *stabstr_secname));
+
+char *demand_copy_C_string PARAMS ((int *len_pointer));
+char get_absolute_expression_and_terminator PARAMS ((long *val_pointer));
+offsetT get_absolute_expression PARAMS ((void));
+unsigned int next_char_of_string PARAMS ((void));
+void add_include_dir PARAMS ((char *path));
+void cons PARAMS ((int nbytes));
+void demand_empty_rest_of_line PARAMS ((void));
+void emit_expr PARAMS ((expressionS *exp, unsigned int nbytes));
+void equals PARAMS ((char *sym_name));
+void float_cons PARAMS ((int float_type));
+void ignore_rest_of_line PARAMS ((void));
+void pseudo_set PARAMS ((symbolS * symbolP));
+void read_a_source_file PARAMS ((char *name));
+void read_begin PARAMS ((void));
+void s_abort PARAMS ((int));
+void s_align_bytes PARAMS ((int arg));
+void s_align_ptwo PARAMS ((int));
+void s_app_file PARAMS ((int));
+void s_app_line PARAMS ((int));
+void s_comm PARAMS ((int));
+void s_data PARAMS ((int));
+void s_desc PARAMS ((int));
+void s_else PARAMS ((int arg));
+void s_end PARAMS ((int arg));
+void s_endif PARAMS ((int arg));
+void s_fail PARAMS ((int));
+void s_fill PARAMS ((int));
+void s_float_space PARAMS ((int mult));
+void s_globl PARAMS ((int arg));
+void s_if PARAMS ((int arg));
+void s_ifdef PARAMS ((int arg));
+void s_ifeqs PARAMS ((int arg));
+void s_ignore PARAMS ((int arg));
+void s_include PARAMS ((int arg));
+void s_lcomm PARAMS ((int needs_align));
+void s_lsym PARAMS ((int));
+void s_mri_common PARAMS ((int));
+void s_org PARAMS ((int));
+void s_set PARAMS ((int));
+void s_space PARAMS ((int mult));
+void s_stab PARAMS ((int what));
+void s_struct PARAMS ((int));
+void s_text PARAMS ((int));
+void stringer PARAMS ((int append_zero));
+void s_xstab PARAMS ((int what));
+
+/* end of read.h */
This page took 0.025667 seconds and 4 git commands to generate.