changes, what else?
[deliverable/binutils-gdb.git] / gas / read.h
CommitLineData
fecd2382
RP
1/* read.h - of read.c
2 Copyright (C) 1986, 1990 Free Software Foundation, Inc.
a39116f1
RP
3
4 This file is part of GAS, the GNU Assembler.
5
6 GAS is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GAS is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GAS; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
fecd2382 19
fecd2382
RP
20extern char *input_line_pointer; /* -> char we are parsing now. */
21
22#define PERMIT_WHITESPACE /* Define to make whitespace be allowed in */
a39116f1
RP
23/* many syntactically unnecessary places. */
24/* Normally undefined. For compatibility */
25/* with ancient GNU cc. */
26/* #undef PERMIT_WHITESPACE */
fecd2382
RP
27
28#ifdef PERMIT_WHITESPACE
29#define SKIP_WHITESPACE() {if (* input_line_pointer == ' ') ++ input_line_pointer;}
30#else
31#define SKIP_WHITESPACE() know(*input_line_pointer != ' ' )
32#endif
33
34
35#define LEX_NAME (1) /* may continue a name */
36#define LEX_BEGIN_NAME (2) /* may begin a name */
a39116f1 37
fecd2382
RP
38#define is_name_beginner(c) ( lex_type[c] & LEX_BEGIN_NAME )
39#define is_part_of_name(c) ( lex_type[c] & LEX_NAME )
40
41#ifndef is_a_char
42#define CHAR_MASK (0xff)
43#define NOT_A_CHAR (CHAR_MASK+1)
44#define is_a_char(c) (((unsigned)(c)) <= CHAR_MASK)
45#endif /* is_a_char() */
46
47extern const char lex_type[];
48extern char is_end_of_line[];
49
50#ifdef __STDC__
51
52char *demand_copy_C_string(int *len_pointer);
53char get_absolute_expression_and_terminator(long *val_pointer);
54long get_absolute_expression(void);
55void add_include_dir(char *path);
56void big_cons(int nbytes);
57void cons(unsigned int nbytes);
58void demand_empty_rest_of_line(void);
59void equals(char *sym_name);
60void float_cons(int float_type);
61void ignore_rest_of_line(void);
62void pseudo_set(symbolS *symbolP);
63void read_a_source_file(char *name);
64void read_begin(void);
65void s_abort(void);
66void s_align_bytes(int arg);
67void s_align_ptwo(void);
68void s_app_file(void);
69void s_comm(void);
70void s_data(void);
71void s_else(int arg);
72void s_end(int arg);
73void s_endif(int arg);
74void s_fill(void);
75void s_globl(void);
76void s_if(int arg);
77void s_ifdef(int arg);
78void s_ifeqs(int arg);
79void s_ignore(int arg);
80void s_include(int arg);
81void s_lcomm(int needs_align);
82void s_lsym(void);
83void s_org(void);
84void s_set(void);
85void s_space(void);
86void s_text(void);
87
88#else /* __STDC__ */
89
90char *demand_copy_C_string();
91char get_absolute_expression_and_terminator();
92long get_absolute_expression();
93void add_include_dir();
94void big_cons();
95void cons();
96void demand_empty_rest_of_line();
97void equals();
98void float_cons();
99void ignore_rest_of_line();
100void pseudo_set();
101void read_a_source_file();
102void read_begin();
103void s_abort();
104void s_align_bytes();
105void s_align_ptwo();
106void s_app_file();
107void s_comm();
108void s_data();
109void s_else();
110void s_end();
111void s_endif();
112void s_fill();
113void s_globl();
114void s_if();
115void s_ifdef();
116void s_ifeqs();
117void s_ignore();
118void s_include();
119void s_lcomm();
120void s_lsym();
121void s_org();
122void s_set();
123void s_space();
124void s_text();
125
126#endif /* __STDC__ */
127
128/*
129 * Local Variables:
130 * comment-column: 0
131 * fill-column: 131
132 * End:
133 */
134
8b228fe9 135/* end of read.h */
This page took 0.054133 seconds and 4 git commands to generate.