parse.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* Define constants for communication with parse.y.
  2. Copyright (C) 1987 Free Software Foundation, Inc.
  3. This file is part of GNU CC.
  4. GNU CC is distributed in the hope that it will be useful,
  5. but WITHOUT ANY WARRANTY. No author or distributor
  6. accepts responsibility to anyone for the consequences of using it
  7. or for whether it serves any particular purpose or works at all,
  8. unless he says so in writing. Refer to the GNU CC General Public
  9. License for full details.
  10. Everyone is granted permission to copy, modify and redistribute
  11. GNU CC, but only under the conditions described in the
  12. GNU CC General Public License. A copy of this license is
  13. supposed to have been given to you along with GNU CC so you
  14. can know your rights and responsibilities. It should be in a
  15. file named COPYING. Among other things, the copyright notice
  16. and this notice must be preserved on all copies. */
  17. enum rid
  18. {
  19. RID_UNUSED,
  20. RID_INT,
  21. RID_CHAR,
  22. RID_FLOAT,
  23. RID_DOUBLE,
  24. RID_VOID,
  25. RID_UNUSED1,
  26. RID_UNSIGNED,
  27. RID_SHORT,
  28. RID_LONG,
  29. RID_AUTO,
  30. RID_STATIC,
  31. RID_EXTERN,
  32. RID_REGISTER,
  33. RID_TYPEDEF,
  34. RID_SIGNED,
  35. RID_CONST,
  36. RID_VOLATILE,
  37. RID_MAX,
  38. };
  39. #define RID_FIRST_MODIFIER RID_UNSIGNED