Fix header inclusions
[amule.git] / src / Parser.hpp
blob2e48bc835caf2621666a2d23aecab10024ec12b5
1 /* A Bison parser, made by GNU Bison 2.3. */
3 /* Skeleton interface for Bison's Yacc-like parsers in C
5 Copyright (c) 1984-2008 Free Software Foundation, Inc.
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 2, or (at your option)
10 any later version.
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.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
22 /* As a special exception, you may create a larger work that contains
23 part or all of the Bison parser skeleton and distribute that work
24 under terms of your choice, so long as that work isn't itself a
25 parser generator using the skeleton or a modified version thereof
26 as a parser skeleton. Alternatively, if you modify or redistribute
27 the parser skeleton itself, you may (at your option) remove this
28 special exception, which will cause the skeleton and the resulting
29 Bison output files to be licensed under the GNU General Public
30 License without this special exception.
32 This special exception was added by the Free Software Foundation in
33 version 2.2 of Bison. */
35 /* Tokens. */
36 #ifndef YYTOKENTYPE
37 # define YYTOKENTYPE
38 /* Put the tokens into the symbol table, so that GDB and other debuggers
39 know about them. */
40 enum yytokentype {
41 TOK_STRING = 258,
42 TOK_AND = 259,
43 TOK_OR = 260,
44 TOK_NOT = 261,
45 TOK_ED2K_LINK = 262
47 #endif
48 /* Tokens. */
49 #define TOK_STRING 258
50 #define TOK_AND 259
51 #define TOK_OR 260
52 #define TOK_NOT 261
53 #define TOK_ED2K_LINK 262
58 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
59 typedef union YYSTYPE
60 #line 23 "./Parser.y"
62 wxString* pstr;
63 CSearchExpr* pexpr;
65 /* Line 1489 of yacc.c. */
66 #line 68 "Parser.hpp"
67 YYSTYPE;
68 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
69 # define YYSTYPE_IS_DECLARED 1
70 # define YYSTYPE_IS_TRIVIAL 1
71 #endif
73 extern YYSTYPE yylval;