home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / online / source / c / compilers / Bison.sit.hqx / Bison / Source / lex.h < prev    next >
Text File  |  1992-08-21  |  2KB  |  55 lines

  1. /***********************************************************
  2.  *
  3.  * Macintosh/MPW version of GNU Bison 1.18
  4.  * Please read the README_MPW file for more information
  5.  *
  6.  ***********************************************************/
  7.  
  8. /* Token type definitions for bison's input reader,
  9.    Copyright (C) 1984, 1989 Free Software Foundation, Inc.
  10.  
  11. This file is part of Bison, the GNU Compiler Compiler.
  12.  
  13. Bison is free software; you can redistribute it and/or modify
  14. it under the terms of the GNU General Public License as published by
  15. the Free Software Foundation; either version 2, or (at your option)
  16. any later version.
  17.  
  18. Bison is distributed in the hope that it will be useful,
  19. but WITHOUT ANY WARRANTY; without even the implied warranty of
  20. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  21. GNU General Public License for more details.
  22.  
  23. You should have received a copy of the GNU General Public License
  24. along with Bison; see the file COPYING.  If not, write to
  25. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  26.  
  27.  
  28. #define    ENDFILE        0
  29. #define    IDENTIFIER    1
  30. #define    COMMA        2
  31. #define COLON        3
  32. #define    SEMICOLON    4
  33. #define    BAR        5
  34. #define LEFT_CURLY    6
  35. #define TWO_PERCENTS    7
  36. #define PERCENT_LEFT_CURLY    8
  37. #define    TOKEN        9
  38. #define    NTERM        10
  39. #define GUARD           11
  40. #define    TYPE           12
  41. #define    UNION           13
  42. #define START           14
  43. #define LEFT           15
  44. #define RIGHT           16
  45. #define NONASSOC       17
  46. #define PREC           18
  47. #define SEMANTIC_PARSER 19
  48. #define PURE_PARSER    20
  49. #define TYPENAME       21
  50. #define NUMBER           22
  51. #define EXPECT           23
  52. #define    ILLEGAL           24
  53.  
  54. #define    MAXTOKEN    1024
  55.