home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / historic / v941.tgz / icon.v941src.tar / icon.v941src / src / common / yacctok.h < prev    next >
Text File  |  2000-07-29  |  4KB  |  126 lines

  1. /*
  2.  * NOTE: these %token declarations are generated
  3.  *  automatically by mktoktab from tokens.txt and 
  4.  *  op.txt.
  5.  */
  6.  
  7. /* primitive tokens */
  8.  
  9. %token    IDENT
  10. %token    INTLIT
  11. %token    REALLIT
  12. %token    STRINGLIT
  13. %token    CSETLIT
  14. %token    EOFX
  15.  
  16. /* reserved words */
  17.  
  18. %token    BREAK       /* break     */
  19. %token    BY          /* by        */
  20. %token    CASE        /* case      */
  21. %token    CREATE      /* create    */
  22. %token    DEFAULT     /* default   */
  23. %token    DO          /* do        */
  24. %token    ELSE        /* else      */
  25. %token    END         /* end       */
  26. %token    EVERY       /* every     */
  27. %token    FAIL        /* fail      */
  28. %token    GLOBAL      /* global    */
  29. %token    IF          /* if        */
  30. %token    INITIAL     /* initial   */
  31. %token    INVOCABLE   /* invocable */
  32. %token    LINK        /* link      */
  33. %token    LOCAL       /* local     */
  34. %token    NEXT        /* next      */
  35. %token    NOT         /* not       */
  36. %token    OF          /* of        */
  37. %token    PROCEDURE   /* procedure */
  38. %token    RECORD      /* record    */
  39. %token    REPEAT      /* repeat    */
  40. %token    RETURN      /* return    */
  41. %token    STATIC      /* static    */
  42. %token    SUSPEND     /* suspend   */
  43. %token    THEN        /* then      */
  44. %token    TO          /* to        */
  45. %token    UNTIL       /* until     */
  46. %token    WHILE       /* while     */
  47.  
  48. /* operators */
  49.  
  50. %token    BANG        /* !         */
  51. %token    MOD         /* %         */
  52. %token    AUGMOD      /* %:=       */
  53. %token    AND         /* &         */
  54. %token    AUGAND      /* &:=       */
  55. %token    STAR        /* *         */
  56. %token    AUGSTAR     /* *:=       */
  57. %token    INTER       /* **        */
  58. %token    AUGINTER    /* **:=      */
  59. %token    PLUS        /* +         */
  60. %token    AUGPLUS     /* +:=       */
  61. %token    UNION       /* ++        */
  62. %token    AUGUNION    /* ++:=      */
  63. %token    MINUS       /* -         */
  64. %token    AUGMINUS    /* -:=       */
  65. %token    DIFF        /* --        */
  66. %token    AUGDIFF     /* --:=      */
  67. %token    DOT         /* .         */
  68. %token    SLASH       /* /         */
  69. %token    AUGSLASH    /* /:=       */
  70. %token    ASSIGN      /* :=        */
  71. %token    SWAP        /* :=:       */
  72. %token    NMLT        /* <         */
  73. %token    AUGNMLT     /* <:=       */
  74. %token    REVASSIGN   /* <-        */
  75. %token    REVSWAP     /* <->       */
  76. %token    SLT         /* <<        */
  77. %token    AUGSLT      /* <<:=      */
  78. %token    SLE         /* <<=       */
  79. %token    AUGSLE      /* <<=:=     */
  80. %token    NMLE        /* <=        */
  81. %token    AUGNMLE     /* <=:=      */
  82. %token    NMEQ        /* =         */
  83. %token    AUGNMEQ     /* =:=       */
  84. %token    SEQ         /* ==        */
  85. %token    AUGSEQ      /* ==:=      */
  86. %token    EQUIV       /* ===       */
  87. %token    AUGEQUIV    /* ===:=     */
  88. %token    NMGT        /* >         */
  89. %token    AUGNMGT     /* >:=       */
  90. %token    NMGE        /* >=        */
  91. %token    AUGNMGE     /* >=:=      */
  92. %token    SGT         /* >>        */
  93. %token    AUGSGT      /* >>:=      */
  94. %token    SGE         /* >>=       */
  95. %token    AUGSGE      /* >>=:=     */
  96. %token    QMARK       /* ?         */
  97. %token    AUGQMARK    /* ?:=       */
  98. %token    AT          /* @         */
  99. %token    AUGAT       /* @:=       */
  100. %token    BACKSLASH   /* \         */
  101. %token    CARET       /* ^         */
  102. %token    AUGCARET    /* ^:=       */
  103. %token    BAR         /* |         */
  104. %token    CONCAT      /* ||        */
  105. %token    AUGCONCAT   /* ||:=      */
  106. %token    LCONCAT     /* |||       */
  107. %token    AUGLCONCAT  /* |||:=     */
  108. %token    TILDE       /* ~         */
  109. %token    NMNE        /* ~=        */
  110. %token    AUGNMNE     /* ~=:=      */
  111. %token    SNE         /* ~==       */
  112. %token    AUGSNE      /* ~==:=     */
  113. %token    NEQUIV      /* ~===      */
  114. %token    AUGNEQUIV   /* ~===:=    */
  115. %token    LPAREN      /* (         */
  116. %token    RPAREN      /* )         */
  117. %token    PCOLON      /* +:        */
  118. %token    COMMA       /* ,         */
  119. %token    MCOLON      /* -:        */
  120. %token    COLON       /* :         */
  121. %token    SEMICOL     /* ;         */
  122. %token    LBRACK      /* [         */
  123. %token    RBRACK      /* ]         */
  124. %token    LBRACE      /* {         */
  125. %token    RBRACE      /* }         */
  126.