1 /* 2 This file is part of Warzone 2100. 3 Copyright (C) 2005-2020 Warzone 2100 Project 4 5 Warzone 2100 is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2 of the License, or 8 (at your option) any later version. 9 10 Warzone 2100 is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with Warzone 2100; if not, write to the Free Software 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 */ 19 20 21 /* Tokens. */ 22 #ifndef YYTOKENTYPE 23 # define YYTOKENTYPE 24 /* Put the tokens into the symbol table, so that GDB and other debuggers 25 know about them. */ 26 enum yytokentype { 27 TEXT_T = 258, 28 QTEXT_T = 259, 29 DIRECTORY = 260, 30 FILETOKEN = 261 31 }; 32 #endif 33 /* Tokens. */ 34 #define TEXT_T 258 35 #define QTEXT_T 259 36 #define DIRECTORY 260 37 #define FILETOKEN 261 38 39 40 41 42 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 43 typedef union YYSTYPE 44 { 45 46 /* Line 2068 of yacc.c */ 47 #line 52 "resource_parser.ypp" 48 49 char *sval; 50 51 52 53 /* Line 2068 of yacc.c */ 54 #line 68 "resource_parser.h" 55 } YYSTYPE; 56 # define YYSTYPE_IS_TRIVIAL 1 57 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 58 # define YYSTYPE_IS_DECLARED 1 59 #endif 60 61 extern YYSTYPE res_lval; 62 63 64