Annotation of researchv10dc/cmd/cyntax/cem/stdobj.h, revision 1.1

1.1     ! root        1: /* @(#) Hstdobj version 1.3    updated 85/02/15 */
        !             2: /*
        !             3:  *     Sydney C Compiler.
        !             4:  *
        !             5:  *     Copyright 1984, Bruce Ellis.
        !             6:  *
        !             7:  *     Unauthorised possesion, sale or use prohibited.
        !             8:  */
        !             9: 
        !            10: 
        !            11: #define        TIME_SEP        '@'
        !            12: 
        !            13: #define        STD_OBJ 1
        !            14: 
        !            15: typedef struct
        !            16: {
        !            17:        char    hd_cmd[24];
        !            18:        long    hd_str_off;
        !            19:        long    hd_str_size;
        !            20:        long    hd_type_size;
        !            21:        long    hd_var_size;
        !            22: }
        !            23:        header;
        !            24: 
        !            25: typedef enum
        !            26: {
        !            27:        i_data,
        !            28:        i_lib,
        !            29:        i_src,
        !            30:        i_string,
        !            31:        i_type,
        !            32:        i_var,
        !            33: }
        !            34:        obj_items;
        !            35: 
        !            36: typedef enum
        !            37: {
        !            38:        d_addr,
        !            39:        d_bytes,
        !            40:        d_end,
        !            41:        d_istring,
        !            42:        d_irstring,
        !            43:        d_space,
        !            44:        d_string,
        !            45:        d_reloc,
        !            46:        d_rstring,
        !            47: }
        !            48:        obj_datas;
        !            49: 
        !            50: typedef enum
        !            51: {
        !            52:        t_arrayof,
        !            53:        t_basetype,
        !            54:        t_bitfield,
        !            55:        t_dimless,
        !            56:        t_elaboration,
        !            57:        t_enum,
        !            58:        t_ftnreturning,
        !            59:        t_ptrto,
        !            60:        t_structof,
        !            61:        t_unionof,
        !            62: 
        !            63:        t_types,
        !            64: }
        !            65:        obj_types;
        !            66: 
        !            67: typedef enum
        !            68: {
        !            69:        v_arglist,
        !            70:        v_array_size,
        !            71:        v_auto,
        !            72:        v_block_static,
        !            73:        v_call,
        !            74:        v_formal,
        !            75:        v_function,
        !            76:        v_global,
        !            77:        v_implicit_function,
        !            78:        v_static,
        !            79:        v_varargs,
        !            80: }
        !            81:        obj_vars;
        !            82: 
        !            83: #define        obj_code(a, b)  (((int)(a) << 4) | (int)(b))
        !            84: 
        !            85: #define        MAX_ITEM        15
        !            86: #define        obj_item(c)     (((c) >> 4) & 0xF)
        !            87: #define        obj_id(c)       ((c) & 0xF)

unix.superglobalmegacorp.com

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