Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4358 Serge 1
/* A Bison parser, made by GNU Bison 2.7.12-4996.  */
2
 
3
/* Bison interface for Yacc-like parsers in C
4
 
5
      Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
6
 
7
   This program 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 3 of the License, or
10
   (at your option) any later version.
11
 
12
   This program 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 this program.  If not, see .  */
19
 
20
/* As a special exception, you may create a larger work that contains
21
   part or all of the Bison parser skeleton and distribute that work
22
   under terms of your choice, so long as that work isn't itself a
23
   parser generator using the skeleton or a modified version thereof
24
   as a parser skeleton.  Alternatively, if you modify or redistribute
25
   the parser skeleton itself, you may (at your option) remove this
26
   special exception, which will cause the skeleton and the resulting
27
   Bison output files to be licensed under the GNU General Public
28
   License without this special exception.
29
 
30
   This special exception was added by the Free Software Foundation in
31
   version 2.2 of Bison.  */
32
 
33
#ifndef YY_GLCPP_PARSER_SRC_GLSL_GLCPP_GLCPP_PARSE_H_INCLUDED
34
# define YY_GLCPP_PARSER_SRC_GLSL_GLCPP_GLCPP_PARSE_H_INCLUDED
35
/* Enabling traces.  */
36
#ifndef YYDEBUG
37
# define YYDEBUG 0
38
#endif
39
#if YYDEBUG
40
extern int glcpp_parser_debug;
41
#endif
42
 
43
/* Tokens.  */
44
#ifndef YYTOKENTYPE
45
# define YYTOKENTYPE
46
   /* Put the tokens into the symbol table, so that GDB and other debuggers
47
      know about them.  */
48
   enum yytokentype {
49
     COMMA_FINAL = 258,
50
     DEFINED = 259,
51
     ELIF_EXPANDED = 260,
52
     HASH = 261,
53
     HASH_DEFINE = 262,
54
     FUNC_IDENTIFIER = 263,
55
     OBJ_IDENTIFIER = 264,
56
     HASH_ELIF = 265,
57
     HASH_ELSE = 266,
58
     HASH_ENDIF = 267,
59
     HASH_IF = 268,
60
     HASH_IFDEF = 269,
61
     HASH_IFNDEF = 270,
62
     HASH_LINE = 271,
63
     HASH_UNDEF = 272,
64
     HASH_VERSION = 273,
65
     IDENTIFIER = 274,
66
     IF_EXPANDED = 275,
67
     INTEGER = 276,
68
     INTEGER_STRING = 277,
69
     LINE_EXPANDED = 278,
70
     NEWLINE = 279,
71
     OTHER = 280,
72
     PLACEHOLDER = 281,
73
     SPACE = 282,
74
     PASTE = 283,
75
     OR = 284,
76
     AND = 285,
77
     NOT_EQUAL = 286,
78
     EQUAL = 287,
79
     GREATER_OR_EQUAL = 288,
80
     LESS_OR_EQUAL = 289,
81
     RIGHT_SHIFT = 290,
82
     LEFT_SHIFT = 291,
83
     UNARY = 292
84
   };
85
#endif
86
 
87
 
88
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
89
 
90
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
91
# define YYSTYPE_IS_DECLARED 1
92
#endif
93
 
94
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
95
typedef struct YYLTYPE
96
{
97
  int first_line;
98
  int first_column;
99
  int last_line;
100
  int last_column;
101
} YYLTYPE;
102
# define yyltype YYLTYPE /* obsolescent; will be withdrawn */
103
# define YYLTYPE_IS_DECLARED 1
104
# define YYLTYPE_IS_TRIVIAL 1
105
#endif
106
 
107
 
108
#ifdef YYPARSE_PARAM
109
#if defined __STDC__ || defined __cplusplus
110
int glcpp_parser_parse (void *YYPARSE_PARAM);
111
#else
112
int glcpp_parser_parse ();
113
#endif
114
#else /* ! YYPARSE_PARAM */
115
#if defined __STDC__ || defined __cplusplus
116
int glcpp_parser_parse (glcpp_parser_t *parser);
117
#else
118
int glcpp_parser_parse ();
119
#endif
120
#endif /* ! YYPARSE_PARAM */
121
 
122
#endif /* !YY_GLCPP_PARSER_SRC_GLSL_GLCPP_GLCPP_PARSE_H_INCLUDED  */