1 /* 2 * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client 3 * Copyright (C) 1999-2014 Hiroyuki Yamamoto and the Claws Mail team 4 * 5 * This program 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 3 of the License, or 8 * (at your option) any later version. 9 * 10 * This program 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 this program. If not, see <http://www.gnu.org/licenses/>. 17 * 18 */ 19 20 /* The following defines are adapted from GDB sources (cp-name-parser.y): 21 22 Copyright (C) 2003-2014 Free Software Foundation, Inc. 23 24 Parts of the lexer are based on c-exp.y from GDB. 25 26 This file is part of GDB. 27 28 This program is free software; you can redistribute it and/or modify 29 it under the terms of the GNU General Public License as published by 30 the Free Software Foundation; either version 3 of the License, or 31 (at your option) any later version. 32 33 This program is distributed in the hope that it will be useful, 34 but WITHOUT ANY WARRANTY; without even the implied warranty of 35 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 36 GNU General Public License for more details. 37 38 You should have received a copy of the GNU General Public License 39 along with this program. If not, see <http://www.gnu.org/licenses/>. 40 */ 41 42 /* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc), 43 as well as gratuitiously global symbol names, so we can have multiple 44 yacc generated parsers in gdb. Note that these are only the variables 45 produced by yacc. If other parser generators (bison, byacc, etc) produce 46 additional global names that conflict at link time, then those parser 47 generators need to be fixed instead of adding those names to this list. */ 48 49 #define yymaxdepth matcher_parsermaxdepth 50 #define yyparse matcher_parserparse 51 #define yylex matcher_parserlex 52 #define yyerror matcher_parsererror 53 #define yylval matcher_parserlval 54 #define yychar matcher_parserchar 55 #define yydebug matcher_parserdebug 56 #define yypact matcher_parserpact 57 #define yyr1 matcher_parserr1 58 #define yyr2 matcher_parserr2 59 #define yydef matcher_parserdef 60 #define yychk matcher_parserchk 61 #define yypgo matcher_parserpgo 62 #define yyact matcher_parseract 63 #define yyexca matcher_parserexca 64 #define yyerrflag matcher_parsererrflag 65 #define yynerrs matcher_parsernerrs 66 #define yyps matcher_parserps 67 #define yypv matcher_parserpv 68 #define yys matcher_parsers 69 #define yy_yys matcher_parseryys 70 #define yystate matcher_parserstate 71 #define yytmp matcher_parsertmp 72 #define yyv matcher_parserv 73 #define yy_yyv matcher_parseryyv 74 #define yyval matcher_parserval 75 #define yylloc matcher_parserlloc 76 #define yyreds matcher_parserreds /* With YYDEBUG defined */ 77 #define yytoks matcher_parsertoks /* With YYDEBUG defined */ 78 #define yylhs matcher_parseryylhs 79 #define yylen matcher_parseryylen 80 #define yydefred matcher_parseryydefred 81 #define yydgoto matcher_parseryydgoto 82 #define yysindex matcher_parseryysindex 83 #define yyrindex matcher_parseryyrindex 84 #define yygindex matcher_parseryygindex 85 #define yytable matcher_parseryytable 86 #define yycheck matcher_parseryycheck 87 #define yyrestart matcher_parserrestart 88