mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-26 05:20:30 +00:00
3a69b3aca6
Cherrypick from master 1991-04-04 18:19:53 UTC K. Richard Pixley <rich@cygnus> 'Initial revision': gas/COPYING gas/ChangeLog gas/Makefile.in gas/README gas/app.c gas/as.c gas/as.h gas/atof-generic.c gas/bignum-copy.c gas/bignum.h gas/cond.c gas/config/atof-ieee.c gas/config/atof-vax.c gas/config/obj-aout.c gas/config/obj-aout.h gas/config/obj-bout.c gas/config/obj-bout.h gas/config/obj-coff.c gas/config/obj-coff.h gas/config/tc-a29k.c gas/config/tc-a29k.h gas/config/tc-generic.c gas/config/tc-generic.h gas/config/tc-i386.c gas/config/tc-i386.h gas/config/tc-i860.c gas/config/tc-i860.h gas/config/tc-i960.c gas/config/tc-i960.h gas/config/tc-m68851.h gas/config/tc-m68k.c gas/config/tc-m68k.h gas/config/tc-ns32k.c gas/config/tc-ns32k.h gas/config/tc-sparc.c gas/config/tc-sparc.h gas/config/tc-vax.c gas/config/tc-vax.h gas/config/te-generic.h gas/config/te-ic960.h gas/config/te-sun3.h gas/config/vax-inst.h gas/configure gas/configure.in gas/debug.c gas/expr.c gas/expr.h gas/flonum-copy.c gas/flonum-mult.c gas/flonum.h gas/frags.c gas/frags.h gas/hash.c gas/hash.h gas/input-file.c gas/input-file.h gas/input-scrub.c gas/messages.c gas/obj.h gas/output-file.c gas/output-file.h gas/read.c gas/read.h gas/struc-symbol.h gas/subsegs.c gas/subsegs.h gas/symbols.c gas/symbols.h gas/tc.h gas/write.c gas/write.h ld/ld.h ld/ldexp.c ld/ldfile.c ld/ldfile.h ld/ldlang.h ld/ldlex.h ld/ldmain.h ld/ldmisc.h ld/ldwrite.h Cherrypick from master 1991-03-21 21:29:06 UTC David Henkel-Wallace <gumby@cygnus> 'Initial revision': ld/ldexp.h ld/ldgram.y ld/ldlang.c ld/ldlex.l ld/ldmain.c ld/ldmisc.c ld/ldwrite.c Cherrypick from master 1991-01-17 15:34:55 UTC Roland Pesch <pesch@cygnus> 'Initial revision': gas/doc/as.texinfo
138 lines
3.4 KiB
C
138 lines
3.4 KiB
C
/* read.h - of read.c
|
|
Copyright (C) 1986, 1990 Free Software Foundation, Inc.
|
|
|
|
This file is part of GAS, the GNU Assembler.
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
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. */
|
|
|
|
/* $Id$ */
|
|
|
|
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
|
|
|
|
#ifdef PERMIT_WHITESPACE
|
|
#define SKIP_WHITESPACE() {if (* input_line_pointer == ' ') ++ input_line_pointer;}
|
|
#else
|
|
#define SKIP_WHITESPACE() know(*input_line_pointer != ' ' )
|
|
#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 )
|
|
|
|
#ifndef is_a_char
|
|
#define CHAR_MASK (0xff)
|
|
#define NOT_A_CHAR (CHAR_MASK+1)
|
|
#define is_a_char(c) (((unsigned)(c)) <= CHAR_MASK)
|
|
#endif /* is_a_char() */
|
|
|
|
extern const 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 */
|