ack/util/opt/var.c

31 lines
850 B
C
Raw Normal View History

1984-05-17 13:57:07 +00:00
#ifndef NORCSID
static char rcsid[] = "$Header$";
#endif
1984-05-17 13:42:36 +00:00
#include <stdio.h>
#include "param.h"
#include "types.h"
1990-07-18 14:33:07 +00:00
#include "shc.h"
1984-05-17 13:42:36 +00:00
#include "lookup.h"
#include "proinf.h"
/*
1987-03-10 01:42:07 +00:00
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
1984-05-17 13:42:36 +00:00
*
* Author: Hans van Staveren
*/
unsigned linecount = 0; /* "line"number for errormessages */
int prodepth = 0; /* Level of nesting */
bool Lflag = 0; /* make library module */
bool nflag = 0; /* do not optimize */
line_p instrs,pseudos; /* pointers to chains */
sym_p symhash[NSYMHASH]; /* array of pointers to chains */
FILE *outfile;
char template[] = "/usr/tmp/emoptXXXXXX";
offset wordsize = 0;
offset pointersize = 0;
char *progname;
proinf curpro; /* collected information about current pro */