home *** CD-ROM | disk | FTP | other *** search
- /*
- * 68K/386 32-bit C compiler.
- *
- * copyright (c) 1996, David Lindauer
- *
- * This compiler is intended for educational use. It may not be used
- * for profit without the express written consent of the author.
- *
- * It may be freely redistributed, as long as this notice remains intact
- * and sources are distributed along with any executables derived from them.
- *
- * The author is not responsible for damages, either direct or consequential,
- * that may arise from use of this software.
- *
- * v1.5 August 1996
- * David Lindauer, gclind01@starbase.spd.louisville.edu
- *
- * Credits to Mathew Brandt for original K&R C compiler
- *
- */
-
- /* global declarations */
-
- #include "cc.p"
- #ifdef i386
- #include "cc386.p"
- #else
- #include "cc68.p"
- #endif
-
- extern FILE *inputFile,
- *listFile,
- *outputFile,
- *cppFile;
-
- extern int lineno;
- extern int nextlabel;
- extern int lastch;
- extern int lastst;
- extern char lastid[60];
- extern char laststr[MAX_STLP1];
- extern long ival;
- extern double rval;
-
- extern TABLE gsyms,
- lsyms;
- extern SYM *lasthead;
- extern struct slit *strtab;
- extern long lc_static;
- extern long lc_auto;
- extern long lc_maxauto;
- extern long lc_bss;
- extern struct snode *bodyptr; /* parse tree for function */
- extern int global_flag;
- extern TABLE defsyms;
- extern int save_mask,fsave_mask; /* register save mask */