cmExprParserTokens.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /* A Bison parser, made by GNU Bison 3.0.4. */
  2. /* Bison interface for Yacc-like parsers in C
  3. Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>. */
  14. /* As a special exception, you may create a larger work that contains
  15. part or all of the Bison parser skeleton and distribute that work
  16. under terms of your choice, so long as that work isn't itself a
  17. parser generator using the skeleton or a modified version thereof
  18. as a parser skeleton. Alternatively, if you modify or redistribute
  19. the parser skeleton itself, you may (at your option) remove this
  20. special exception, which will cause the skeleton and the resulting
  21. Bison output files to be licensed under the GNU General Public
  22. License without this special exception.
  23. This special exception was added by the Free Software Foundation in
  24. version 2.2 of Bison. */
  25. #ifndef YY_CMEXPR_YY_CMEXPRPARSERTOKENS_H_INCLUDED
  26. # define YY_CMEXPR_YY_CMEXPRPARSERTOKENS_H_INCLUDED
  27. /* Debug traces. */
  28. #ifndef YYDEBUG
  29. # define YYDEBUG 0
  30. #endif
  31. #if YYDEBUG
  32. extern int cmExpr_yydebug;
  33. #endif
  34. /* Token type. */
  35. #ifndef YYTOKENTYPE
  36. # define YYTOKENTYPE
  37. enum yytokentype
  38. {
  39. exp_PLUS = 258,
  40. exp_MINUS = 259,
  41. exp_TIMES = 260,
  42. exp_DIVIDE = 261,
  43. exp_MOD = 262,
  44. exp_SHIFTLEFT = 263,
  45. exp_SHIFTRIGHT = 264,
  46. exp_OPENPARENT = 265,
  47. exp_CLOSEPARENT = 266,
  48. exp_OR = 267,
  49. exp_AND = 268,
  50. exp_XOR = 269,
  51. exp_NOT = 270,
  52. exp_NUMBER = 271
  53. };
  54. #endif
  55. /* Tokens. */
  56. #define exp_PLUS 258
  57. #define exp_MINUS 259
  58. #define exp_TIMES 260
  59. #define exp_DIVIDE 261
  60. #define exp_MOD 262
  61. #define exp_SHIFTLEFT 263
  62. #define exp_SHIFTRIGHT 264
  63. #define exp_OPENPARENT 265
  64. #define exp_CLOSEPARENT 266
  65. #define exp_OR 267
  66. #define exp_AND 268
  67. #define exp_XOR 269
  68. #define exp_NOT 270
  69. #define exp_NUMBER 271
  70. /* Value type. */
  71. int cmExpr_yyparse (yyscan_t yyscanner);
  72. #endif /* !YY_CMEXPR_YY_CMEXPRPARSERTOKENS_H_INCLUDED */