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