/* * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client * Copyright (C) 1999-2014 Hiroyuki Yamamoto and the Claws Mail team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * */ /* The following defines are adapted from GDB sources (cp-name-parser.y): Copyright (C) 2003-2014 Free Software Foundation, Inc. Parts of the lexer are based on c-exp.y from GDB. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ /* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc), as well as gratuitiously global symbol names, so we can have multiple yacc generated parsers in gdb. Note that these are only the variables produced by yacc. If other parser generators (bison, byacc, etc) produce additional global names that conflict at link time, then those parser generators need to be fixed instead of adding those names to this list. */ #define yymaxdepth quote_fmtmaxdepth #define yyparse quote_fmtparse #define yylex quote_fmtlex #define yyerror quote_fmterror #define yylval quote_fmtlval #define yychar quote_fmtchar #define yydebug quote_fmtdebug #define yypact quote_fmtpact #define yyr1 quote_fmtr1 #define yyr2 quote_fmtr2 #define yydef quote_fmtdef #define yychk quote_fmtchk #define yypgo quote_fmtpgo #define yyact quote_fmtact #define yyexca quote_fmtexca #define yyerrflag quote_fmterrflag #define yynerrs quote_fmtnerrs #define yyps quote_fmtps #define yypv quote_fmtpv #define yys quote_fmts #define yy_yys quote_fmtyys #define yystate quote_fmtstate #define yytmp quote_fmttmp #define yyv quote_fmtv #define yy_yyv quote_fmtyyv #define yyval quote_fmtval #define yylloc quote_fmtlloc #define yyreds quote_fmtreds /* With YYDEBUG defined */ #define yytoks quote_fmttoks /* With YYDEBUG defined */ #define yylhs quote_fmtyylhs #define yylen quote_fmtyylen #define yydefred quote_fmtyydefred #define yydgoto quote_fmtyydgoto #define yysindex quote_fmtyysindex #define yyrindex quote_fmtyyrindex #define yygindex quote_fmtyygindex #define yytable quote_fmtyytable #define yycheck quote_fmtyycheck