home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / GCC 1.37.1r14 / usr / gcc-1.37.1r14 / (gcc-1.37.π) / c-parse.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-02  |  1.4 KB  |  64 lines  |  [TEXT/KAHL]

  1. /* Define constants for communication with parse.y.
  2.    Copyright (C) 1987 Free Software Foundation, Inc.
  3.    Copyright (C) 1989, 1990 Apple Computer, Inc.
  4.  
  5. This file is part of GNU CC.
  6.  
  7. GNU CC is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 1, or (at your option)
  10. any later version.
  11.  
  12. GNU CC is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with GNU CC; see the file COPYING.  If not, write to
  19. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  20.  
  21.  
  22.  
  23. enum rid
  24. {
  25.   RID_UNUSED,
  26.   RID_INT,
  27.   RID_CHAR,
  28.   RID_FLOAT,
  29.   RID_DOUBLE,
  30.   RID_VOID,
  31.   RID_UNUSED1,
  32. #ifdef APPLE_C
  33.   /* RIDs for new Apple type names. */
  34.   RID_COMP,
  35.   RID_EXTENDED,
  36. #endif /* APPLE_C */
  37.  
  38.   RID_UNSIGNED,
  39.   RID_SHORT,
  40.   RID_LONG,
  41.   RID_AUTO,
  42.   RID_STATIC,
  43.   RID_EXTERN,
  44.   RID_REGISTER,
  45.   RID_TYPEDEF,
  46.   RID_SIGNED,
  47.   RID_CONST,
  48.   RID_VOLATILE,
  49.   RID_INLINE,
  50.   RID_NOALIAS,
  51. #ifdef APPLE_C
  52.   /* The `pascal' keyword in Apple C. */
  53.   RID_PASCAL,
  54. #endif /* APPLE_C */
  55.  
  56.   RID_MAX
  57. #ifdef MPW_C31
  58.   /* Make sure the enum is int-sized. */
  59.   ,rid_intifier = 1000000
  60. #endif /* MPW_C31 */
  61. };
  62.  
  63. #define RID_FIRST_MODIFIER RID_UNSIGNED
  64.