fixup ARM documentation
[deliverable/binutils-gdb.git] / gas / macro.h
CommitLineData
252b5132
RH
1/* macro.h - header file for macro support for gas and gasp
2 Copyright (C) 1994, 95, 96, 97, 1998 Free Software Foundation, Inc.
3
4 Written by Steve and Judy Chamberlain of Cygnus Support,
5 sac@cygnus.com
6
7 This file is part of GAS, the GNU Assembler.
8
9 GAS is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
12 any later version.
13
14 GAS is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with GAS; see the file COPYING. If not, write to the Free
21 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 02111-1307, USA. */
23
24#ifndef MACRO_H
25
26#define MACRO_H
27
28#include "ansidecl.h"
29#include "sb.h"
30
31/* Whether any macros have been defined. */
32
33extern int macro_defined;
34
35/* The macro nesting level. */
36
37extern int macro_nest;
38
39extern int buffer_and_nest
40 PARAMS ((const char *, const char *, sb *, int (*) PARAMS ((sb *))));
41extern void macro_init
42 PARAMS ((int alternate, int mri, int strip_at,
43 int (*) PARAMS ((const char *, int, sb *, int *))));
44extern void macro_mri_mode PARAMS ((int));
45extern const char *define_macro
46 PARAMS ((int idx, sb *in, sb *label, int (*get_line) PARAMS ((sb *)),
47 const char **namep));
48extern int check_macro PARAMS ((const char *, sb *, int, const char **));
49extern void delete_macro PARAMS ((const char *));
50extern const char *expand_irp
51 PARAMS ((int, int, sb *, sb *, int (*) PARAMS ((sb *)), int));
52
53#endif
This page took 0.039285 seconds and 4 git commands to generate.