home *** CD-ROM | disk | FTP | other *** search
/ CD Shareware Magazine 1996 December / CD_shareware_12-96.iso / DOS / Programa / CCDL122.ZIP / INCLUDE / CGLBDEC.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-16  |  1.6 KB  |  56 lines

  1. /*
  2.  * 68K/386 32-bit C compiler.
  3.  *
  4.  * copyright (c) 1996, David Lindauer
  5.  * 
  6.  * This compiler is intended for educational use.  It may not be used
  7.  * for profit without the express written consent of the author.
  8.  *
  9.  * It may be freely redistributed, as long as this notice remains intact
  10.  * and sources are distributed along with any executables derived from them.
  11.  *
  12.  * The author is not responsible for damages, either direct or consequential,
  13.  * that may arise from use of this software.
  14.  *
  15.  * v1.5 August 1996
  16.  * David Lindauer, gclind01@starbase.spd.louisville.edu
  17.  *
  18.  * Credits to Mathew Brandt for original K&R C compiler
  19.  *
  20.  */
  21.  
  22. /*      global declarations     */
  23.  
  24. #include "cc.p"
  25. #ifdef i386
  26. #include "cc386.p"
  27. #else
  28. #include "cc68.p"
  29. #endif
  30.  
  31. extern FILE             *inputFile,
  32.                         *listFile,
  33.                         *outputFile,
  34.             *cppFile;
  35.  
  36. extern int              lineno;
  37. extern int              nextlabel;
  38. extern int              lastch;
  39. extern int              lastst;
  40. extern char             lastid[60];
  41. extern char             laststr[MAX_STLP1];
  42. extern long             ival;
  43. extern double           rval;
  44.  
  45. extern TABLE            gsyms,
  46.                         lsyms;
  47. extern SYM              *lasthead;
  48. extern struct slit      *strtab;
  49. extern long             lc_static;
  50. extern long             lc_auto;
  51. extern long         lc_maxauto;
  52. extern long        lc_bss;
  53. extern struct snode     *bodyptr;       /* parse tree for function */
  54. extern int              global_flag;
  55. extern TABLE            defsyms;
  56. extern int              save_mask,fsave_mask;      /* register save mask */