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 quote_fmtmaxdepth 50 #define yyparse quote_fmtparse 51 #define yylex quote_fmtlex 52 #define yyerror quote_fmterror 53 #define yylval quote_fmtlval 54 #define yychar quote_fmtchar 55 #define yydebug quote_fmtdebug 56 #define yypact quote_fmtpact 57 #define yyr1 quote_fmtr1 58 #define yyr2 quote_fmtr2 59 #define yydef quote_fmtdef 60 #define yychk quote_fmtchk 61 #define yypgo quote_fmtpgo 62 #define yyact quote_fmtact 63 #define yyexca quote_fmtexca 64 #define yyerrflag quote_fmterrflag 65 #define yynerrs quote_fmtnerrs 66 #define yyps quote_fmtps 67 #define yypv quote_fmtpv 68 #define yys quote_fmts 69 #define yy_yys quote_fmtyys 70 #define yystate quote_fmtstate 71 #define yytmp quote_fmttmp 72 #define yyv quote_fmtv 73 #define yy_yyv quote_fmtyyv 74 #define yyval quote_fmtval 75 #define yylloc quote_fmtlloc 76 #define yyreds quote_fmtreds /* With YYDEBUG defined */ 77 #define yytoks quote_fmttoks /* With YYDEBUG defined */ 78 #define yylhs quote_fmtyylhs 79 #define yylen quote_fmtyylen 80 #define yydefred quote_fmtyydefred 81 #define yydgoto quote_fmtyydgoto 82 #define yysindex quote_fmtyysindex 83 #define yyrindex quote_fmtyyrindex 84 #define yygindex quote_fmtyygindex 85 #define yytable quote_fmtyytable 86 #define yycheck quote_fmtyycheck 87