2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
5 /* $Id: macro.str,v 1.5 1994/06/24 11:37:40 ceriel Exp $ */
6 /* PREPROCESSOR: DEFINITION OF MACRO DESCRIPTOR */
8 /* The flags of the mc_flag field of the macro structure. Note that
9 these flags can be set simultaneously.
11 #define NOFLAG 0 /* no special flags */
12 #define FUNC 0x1 /* function attached */
13 #define NOUNDEF 0x2 /* reserved macro */
14 #define NOREPLACE 0x4 /* prevent recursion */
16 #define FORMALP 0200 /* mask for creating macro formal parameter */
18 /* The macro descriptor is very simple, except the fact that the
19 mc_text, which points to the replacement text, contains the
20 non-ascii characters \201, \202, etc, indicating the position of a
21 formal parameter in this text.
24 char * mc_text; /* the replacement text */
25 int mc_nps; /* number of formal parameters */
26 int mc_length; /* length of replacement text */
27 char mc_flag; /* marking this macro */
30 /* ALLOCDEF "macro" 20 */
32 /* `token' numbers of keywords of command-line processor
47 #define K_FILE 100 /* for dependency generator */