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