Annotation of researchv10no/cmd/lcc/c/token.h, revision 1.1

1.1     ! root        1: /* C compiler: token data */
        !             2: 
        !             3: #ifndef yy
        !             4: #define yy xx
        !             5: #endif
        !             6: #ifndef zz
        !             7: #define zz xx
        !             8: #endif
        !             9: /*
        !            10: xx - non-keyword symbols; yy - tokens w/o names; zz - keywords
        !            11: xx(symbol,     value,  prec,   op,     opnode, kind,   string)
        !            12: */
        !            13: yy(0,          0,      0,      0,      0,      0,      0)
        !            14: zz(FLOAT,      1,      0,      0,      0,      CHAR,   "float")
        !            15: zz(DOUBLE,     2,      0,      0,      0,      CHAR,   "double")
        !            16: zz(CHAR,       3,      0,      0,      0,      CHAR,   "char")
        !            17: zz(SHORT,      4,      0,      0,      0,      CHAR,   "short")
        !            18: zz(INT,                5,      0,      0,      0,      CHAR,   "int")
        !            19: zz(UNSIGNED,   6,      0,      0,      0,      CHAR,   "unsigned")
        !            20: xx(POINTER,    7,      0,      0,      0,      0,      0)
        !            21: zz(VOID,       8,      0,      0,      0,      CHAR,   "void")
        !            22: zz(STRUCT,     9,      0,      0,      0,      CHAR,   "struct")
        !            23: zz(UNION,      10,     0,      0,      0,      CHAR,   "union")
        !            24: xx(FUNCTION,   11,     0,      0,      0,      0,      0)
        !            25: xx(ARRAY,      12,     0,      0,      0,      0,      0)
        !            26: zz(ENUM,       13,     0,      0,      0,      CHAR,   "enum")
        !            27: zz(LONG,       14,     0,      0,      0,      CHAR,   "long")
        !            28: zz(CONST,      15,     0,      0,      0,      CHAR,   "const")
        !            29: zz(VOLATILE,   16,     0,      0,      0,      CHAR,   "volatile")
        !            30: yy(0,          17,     0,      0,      0,      0,      0)
        !            31: yy(0,          18,     0,      0,      0,      0,      0)
        !            32: yy(0,          19,     0,      0,      0,      0,      0)
        !            33: yy(0,          20,     0,      0,      0,      0,      0)
        !            34: yy(0,          21,     0,      0,      0,      0,      0)
        !            35: yy(0,          22,     0,      0,      0,      0,      0)
        !            36: yy(0,          23,     0,      0,      0,      0,      0)
        !            37: yy(0,          24,     0,      0,      0,      0,      0)
        !            38: yy(0,          25,     0,      0,      0,      0,      0)
        !            39: yy(0,          26,     0,      0,      0,      0,      0)
        !            40: yy(0,          27,     0,      0,      0,      0,      0)
        !            41: yy(0,          28,     0,      0,      0,      0,      0)
        !            42: yy(0,          29,     0,      0,      0,      0,      0)
        !            43: yy(0,          30,     0,      0,      0,      0,      0)
        !            44: yy(0,          31,     0,      0,      0,      0,      0)
        !            45: xx(ID,         32,     0,      0,      0,      ID,     "identifier")
        !            46: yy(0,          33,     0,      0,      0,      ID,     "!")
        !            47: xx(FCON,       34,     0,      0,      0,      ID,     "floating constant")
        !            48: xx(ICON,       35,     0,      0,      0,      ID,     "integer constant")
        !            49: xx(SCON,       36,     0,      0,      0,      ID,     "string constant")
        !            50: yy(0,          37,     13,     MOD,    bitnode,'%',    "%")
        !            51: yy(0,          38,     8,      BAND,   bitnode,ID,     "&")
        !            52: xx(INCR,       39,     0,      ADD,    addnode,ID,     "++")
        !            53: yy(0,          40,     0,      0,      0,      ID,     "(")
        !            54: yy(0,          41,     0,      0,      0,      ')',    ")")
        !            55: yy(0,          42,     13,     MUL,    mulnode,ID,     "*")
        !            56: yy(0,          43,     12,     ADD,    addnode,ID,     "+")
        !            57: yy(0,          44,     1,      0,      0,      ',',    ",")
        !            58: yy(0,          45,     12,     SUB,    subnode,ID,     "-")
        !            59: yy(0,          46,     0,      0,      0,      '.',    ".")
        !            60: yy(0,          47,     13,     DIV,    mulnode,'/',    "/")
        !            61: xx(DECR,       48,     0,      SUB,    subnode,ID,     "--")
        !            62: xx(DEREF,      49,     0,      0,      0,      DEREF,  "->")
        !            63: xx(ANDAND,     50,     5,      AND,    andnode,ANDAND, "&&")
        !            64: xx(OROR,       51,     4,      OR,     andnode,OROR,   "||")
        !            65: xx(LEQ,                52,     10,     LE,     cmpnode,LEQ,    "<=")
        !            66: xx(EQL,                53,     9,      EQ,     eqnode, EQL,    "==")
        !            67: xx(NEQ,                54,     9,      NE,     eqnode, NEQ,    "!=")
        !            68: xx(GEQ,                55,     10,     GE,     cmpnode,GEQ,    ">=")
        !            69: xx(RSHIFT,     56,     11,     RSH,    shnode, RSHIFT, ">>")
        !            70: xx(LSHIFT,     57,     11,     LSH,    shnode, LSHIFT, "<<")
        !            71: yy(0,          58,     0,      0,      0,      ':',    ":")
        !            72: yy(0,          59,     0,      0,      0,      IF,     ";")
        !            73: yy(0,          60,     10,     LT,     cmpnode,'<',    "<")
        !            74: yy(0,          61,     2,      ASGN,   asgnnode,'=',   "=")
        !            75: yy(0,          62,     10,     GT,     cmpnode,'>',    ">")
        !            76: yy(0,          63,     0,      0,      0,      '?',    "?")
        !            77: xx(ELLIPSIS,   64,     0,      0,      0,      ELLIPSIS,"...")
        !            78: zz(SIZEOF,     65,     0,      0,      0,      ID,     "sizeof")
        !            79: yy(0,          66,     0,      0,      0,      0,      0)
        !            80: zz(AUTO,       67,     0,      0,      0,      STATIC, "auto")
        !            81: zz(BREAK,      68,     0,      0,      0,      IF,     "break")
        !            82: zz(CASE,       69,     0,      0,      0,      IF,     "case")
        !            83: zz(CONTINUE,   70,     0,      0,      0,      IF,     "continue")
        !            84: zz(DEFAULT,    71,     0,      0,      0,      IF,     "default")
        !            85: zz(DO,         72,     0,      0,      0,      IF,     "do")
        !            86: zz(ELSE,       73,     0,      0,      0,      IF,     "else")
        !            87: zz(EXTERN,     74,     0,      0,      0,      STATIC, "extern")
        !            88: zz(FOR,                75,     0,      0,      0,      IF,     "for")
        !            89: zz(GOTO,       76,     0,      0,      0,      IF,     "goto")
        !            90: zz(IF,         77,     0,      0,      0,      IF,     "if")
        !            91: zz(REGISTER,   78,     0,      0,      0,      STATIC, "register")
        !            92: zz(RETURN,     79,     0,      0,      0,      IF,     "return")
        !            93: zz(SIGNED,     80,     0,      0,      0,      CHAR,   "signed")
        !            94: zz(STATIC,     81,     0,      0,      0,      STATIC, "static")
        !            95: zz(SWITCH,     82,     0,      0,      0,      IF,     "switch")
        !            96: zz(TYPEDEF,    83,     0,      0,      0,      STATIC, "typedef")
        !            97: zz(WHILE,      84,     0,      0,      0,      IF,     "while")
        !            98: yy(0,          85,     0,      0,      0,      0,      0)
        !            99: yy(0,          86,     0,      0,      0,      0,      0)
        !           100: yy(0,          87,     0,      0,      0,      0,      0)
        !           101: yy(0,          88,     0,      0,      0,      0,      0)
        !           102: yy(0,          89,     0,      0,      0,      0,      0)
        !           103: yy(0,          90,     0,      0,      0,      0,      0)
        !           104: yy(0,          91,     0,      0,      0,      '[',    "[")
        !           105: yy(0,          92,     0,      0,      0,      0,      0)
        !           106: yy(0,          93,     0,      0,      0,      ']',    "]")
        !           107: yy(0,          94,     7,      BXOR,   bitnode,'^',    "^")
        !           108: yy(0,          95,     0,      0,      0,      0,      0)
        !           109: yy(0,          96,     0,      0,      0,      0,      0)
        !           110: yy(0,          97,     0,      0,      0,      0,      0)
        !           111: yy(0,          98,     0,      0,      0,      0,      0)
        !           112: yy(0,          99,     0,      0,      0,      0,      0)
        !           113: yy(0,          100,    0,      0,      0,      0,      0)
        !           114: yy(0,          101,    0,      0,      0,      0,      0)
        !           115: yy(0,          102,    0,      0,      0,      0,      0)
        !           116: yy(0,          103,    0,      0,      0,      0,      0)
        !           117: yy(0,          104,    0,      0,      0,      0,      0)
        !           118: yy(0,          105,    0,      0,      0,      0,      0)
        !           119: yy(0,          106,    0,      0,      0,      0,      0)
        !           120: yy(0,          107,    0,      0,      0,      0,      0)
        !           121: yy(0,          108,    0,      0,      0,      0,      0)
        !           122: yy(0,          109,    0,      0,      0,      0,      0)
        !           123: yy(0,          110,    0,      0,      0,      0,      0)
        !           124: yy(0,          111,    0,      0,      0,      0,      0)
        !           125: yy(0,          112,    0,      0,      0,      0,      0)
        !           126: yy(0,          113,    0,      0,      0,      0,      0)
        !           127: yy(0,          114,    0,      0,      0,      0,      0)
        !           128: yy(0,          115,    0,      0,      0,      0,      0)
        !           129: yy(0,          116,    0,      0,      0,      0,      0)
        !           130: yy(0,          117,    0,      0,      0,      0,      0)
        !           131: yy(0,          118,    0,      0,      0,      0,      0)
        !           132: yy(0,          119,    0,      0,      0,      0,      0)
        !           133: yy(0,          120,    0,      0,      0,      0,      0)
        !           134: yy(0,          121,    0,      0,      0,      0,      0)
        !           135: yy(0,          122,    0,      0,      0,      0,      0)
        !           136: yy(0,          123,    0,      0,      0,      IF,     "{")
        !           137: yy(0,          124,    6,      BOR,    bitnode,'|',    "|")
        !           138: yy(0,          125,    0,      0,      0,      '}',    "}")
        !           139: yy(0,          126,    0,      BCOM,   0,      ID,     "~")
        !           140: xx(EOI,                127,    0,      0,      0,      EOI,    "end of input")
        !           141: #undef xx
        !           142: #undef yy
        !           143: #undef zz
        !           144: 
        !           145: #ifndef __STDC__
        !           146: #ifndef FLOAT
        !           147: #define FLOAT  1 
        !           148: #define DOUBLE 2 
        !           149: #define CHAR   3 
        !           150: #define SHORT  4 
        !           151: #define INT    5 
        !           152: #define UNSIGNED       6 
        !           153: #define POINTER        7 
        !           154: #define VOID   8 
        !           155: #define STRUCT 9 
        !           156: #define UNION  10 
        !           157: #define FUNCTION       11 
        !           158: #define ARRAY  12 
        !           159: #define ENUM   13 
        !           160: #define LONG   14 
        !           161: #define CONST  15 
        !           162: #define VOLATILE       16 
        !           163: #define ID     32 
        !           164: #define FCON   34 
        !           165: #define ICON   35 
        !           166: #define SCON   36 
        !           167: #define INCR   39 
        !           168: #define DECR   48 
        !           169: #define DEREF  49 
        !           170: #define ANDAND 50 
        !           171: #define OROR   51 
        !           172: #define LEQ    52 
        !           173: #define EQL    53 
        !           174: #define NEQ    54 
        !           175: #define GEQ    55 
        !           176: #define RSHIFT 56 
        !           177: #define LSHIFT 57 
        !           178: #define ELLIPSIS       64 
        !           179: #define SIZEOF 65 
        !           180: #define ASM    66 
        !           181: #define AUTO   67 
        !           182: #define BREAK  68 
        !           183: #define CASE   69 
        !           184: #define CONTINUE       70 
        !           185: #define DEFAULT        71 
        !           186: #define DO     72 
        !           187: #define ELSE   73 
        !           188: #define EXTERN 74 
        !           189: #define FOR    75 
        !           190: #define GOTO   76 
        !           191: #define IF     77 
        !           192: #define REGISTER       78 
        !           193: #define RETURN 79 
        !           194: #define SIGNED 80 
        !           195: #define STATIC 81 
        !           196: #define SWITCH 82 
        !           197: #define TYPEDEF        83 
        !           198: #define WHILE  84 
        !           199: #define EOI    127 
        !           200: #endif
        !           201: #endif

unix.superglobalmegacorp.com

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