Annotation of researchv10no/cmd/cfront/ooptcfront/size.h, revision 1.1.1.1

1.1       root        1: /*ident        "@(#)ctrans:src/size.h  1.1.9.6" */
                      2: /*************************************************************************
                      3: 
                      4:        C++ source for cfront, the C++ compiler front-end
                      5:        written in the computer science research center of Bell Labs
                      6: 
                      7:        Copyright (c) 1984 AT&T, Inc. All rigths Reserved
                      8:        THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T, INC.
                      9: 
                     10: size.h:
                     11:        sizes and alignments used to calculate sizeofs
                     12: 
                     13:        table and butffer sizes
                     14: 
                     15: ***************************************************************************/
                     16: #ifndef GRAM
                     17: extern BI_IN_WORD;
                     18: extern BI_IN_BYTE;
                     19:                                /*      byte sizes */
                     20: extern SZ_CHAR;
                     21: extern AL_CHAR;
                     22: 
                     23: extern SZ_SHORT;
                     24: extern AL_SHORT;
                     25: 
                     26: extern SZ_INT;
                     27: extern AL_INT;
                     28: 
                     29: extern SZ_LONG;
                     30: extern AL_LONG;
                     31: 
                     32: extern SZ_FLOAT;
                     33: extern AL_FLOAT;
                     34: 
                     35: extern SZ_DOUBLE;
                     36: extern AL_DOUBLE;
                     37: 
                     38: extern SZ_LDOUBLE;
                     39: extern AL_LDOUBLE;
                     40: 
                     41: extern SZ_STRUCT;      /* minimum struct size */
                     42: extern AL_STRUCT;
                     43: 
                     44: //extern SZ_FRAME;
                     45: //extern AL_FRAME;
                     46: 
                     47: extern SZ_WORD;
                     48: 
                     49: extern SZ_WPTR;
                     50: extern AL_WPTR;
                     51: 
                     52: extern SZ_BPTR;
                     53: extern AL_BPTR;        
                     54: 
                     55: //extern SZ_TOP;
                     56: //extern SZ_BOTTOM;
                     57: 
                     58: extern char* LARGEST_INT;
                     59: extern int F_SENSITIVE;        // is field alignment sensitive to the type of the field?
                     60: extern int F_OPTIMIZED;        // can the compiler fit a small int field into a char?
                     61: #endif
                     62: #define KTBLSIZE       123     /*      initial keyword table size */
                     63: #define GTBLSIZE       257     /*      initial global name table size */
                     64: #define CTBLSIZE       12      /*      initial class table size */
                     65: #define TBLSIZE                20      /*      initial block table size */
                     66: #define BLMAX          50      /*      max block nesting */
                     67: #define MAXFILE                127     /*      max include file nesting */
                     68: #define MAXERR         13      /* maximum number of errors before terminating */
                     69: 
                     70: #ifndef GRAM
                     71: const CHUNK = 8*1024;
                     72: void* chunk(int);
                     73: #endif
                     74: 
                     75: /* $Log:       size.h,v $
                     76:  * Revision 1.1  89/11/20  08:50:54  benson
                     77:  * Initial revision
                     78:  * 
                     79:  * Revision 1.3  89/10/26  16:30:55  benson
                     80:  * move all the initialization #ifdef's into here so they
                     81:  * can be changed without recompiling the whole bloody compiler.
                     82:  * Add ZB_BOUNDARY to represent the start of a bitfield 32 bit
                     83:  * throw as distinct from the "word", which is 32 bits on a sun.
                     84:  * 
                     85:  * Revision 1.2  89/06/28  12:59:47  benson
                     86:  * Port of changes from 2.0beta6 odi bugfixes
                     87:  * 
                     88:    end_log
                     89: 
                     90: */
                     91: 
                     92: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.