Pristine Ack-5.5
[Ack-5.5.git] / util / ego / share / files.h
1 /* $Id: files.h,v 1.4 1994/06/24 10:29:50 ceriel Exp $ */
2 /*
3  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
4  * See the copyright notice in the ACK home directory, in the file "Copyright".
5  */
6 /* F I L E   N A M E S */
7
8 /* The names of the input files of every phase are passed as
9  * arguments to the phase. First come the input file names,
10  * then the output file names. We use a one-letter convention
11  * to denote the type of file:
12  *  p: procedure table file
13  *  d: data table file
14  *  l: EM text file (lines of EM instructions)
15  *  b: basic block file (Control Flow Graph file)
16  */
17
18 /* The input file names */
19
20 #define pname argv[1]
21 #define dname argv[2]
22 #define lname argv[3]
23 #define bname argv[4]
24
25 /* The output file names */
26
27 #define pname2 argv[5]
28 #define dname2 argv[6]
29 #define lname2 argv[7]
30 #define bname2 argv[8]
31
32 #define ARGSTART 9
33
34 extern FILE *openfile();        /* (char *name, *mode)
35                                  * Open a file with the given name
36                                  * and mode; aborts if the file
37                                  * cannot be opened.
38                                  */