home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / GnuSource / cc-61.0.1 / cc / cplus-parse.h < prev    next >
Text File  |  1991-06-03  |  1KB  |  66 lines

  1. /* Define constants for communication with parse.y.
  2.    Copyright (C) 1987 Free Software Foundation, Inc.
  3.    Hacked by Michael Tiemann (tiemann@mcc.com)
  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 2, 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. enum rid
  23. {
  24.   RID_UNUSED,
  25.   RID_INT,
  26.   RID_CHAR,
  27.   RID_FLOAT,
  28.   RID_DOUBLE,
  29.   RID_VOID,
  30.   RID_UNUSED1,
  31.  
  32.   /* C++ extension */
  33.   RID_CLASS,
  34.   RID_RECORD,
  35.   RID_UNION,
  36.   RID_ENUM,
  37.   RID_LONGLONG,
  38.  
  39.   RID_UNSIGNED,
  40.   RID_SHORT,
  41.   RID_LONG,
  42.   RID_AUTO,
  43.   RID_STATIC,
  44.   RID_EXTERN,
  45.   RID_REGISTER,
  46.   RID_TYPEDEF,
  47.   RID_SIGNED,
  48.   RID_CONST,
  49.   RID_VOLATILE,
  50.   RID_INLINE,
  51.   RID_NOALIAS,
  52.  
  53.   /* extensions */
  54.   RID_FRIEND,
  55.   RID_VIRTUAL,
  56.   RID_EXCEPTION,
  57.   RID_RAISES,
  58.   RID_PUBLIC,
  59.   RID_PRIVATE,
  60.   RID_PROTECTED,
  61.  
  62.   RID_MAX,
  63. };
  64.  
  65. #define RID_FIRST_MODIFIER RID_UNSIGNED
  66.