| 1 |
|
/* |
| 2 |
|
Copyright 2002 Cyril Picard |
| 3 |
|
|
| 4 |
|
This file is part of the GEDCOMParser library |
| 5 |
|
(developed within the Genealogy Free Software Tools project). |
| 6 |
|
|
| 7 |
|
The GEDCOMParser library 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 of the License, or |
| 10 |
|
(at your option) any later version. |
| 11 |
|
|
| 12 |
|
The GEDCOMParser library 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. |
| 16 |
|
|
| 17 |
|
You should have received a copy of the GNU General Public License |
| 18 |
|
along with the GEDCOMParser library ; if not, write to the Free Software |
| 19 |
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 20 |
|
|
| 21 |
|
*/ |
| 22 |
|
|
| 23 |
|
#ifndef _GEDCOMPARSER_PERSONALNAMEPARSER_DECL_H_ |
| 24 |
|
#define _GEDCOMPARSER_PERSONALNAMEPARSER_DECL_H_ |
| 25 |
|
#include <stdio.h> |
| 26 |
|
|
| 27 |
|
#define yymaxdepth personalname_maxdepth |
| 28 |
|
#define yyparse personalname_parse |
| 29 |
|
#define yyerror personalname_error |
| 30 |
|
#define yylval personalname_lval |
| 31 |
|
#define yychar personalname_char |
| 32 |
|
#define yydebug personalname_debug |
| 33 |
|
#define yypact personalname_pact |
| 34 |
|
#define yyr1 personalname_r1 |
| 35 |
|
#define yyr2 personalname_r2 |
| 36 |
|
#define yydef personalname_def |
| 37 |
|
#define yychk personalname_chk |
| 38 |
|
#define yypgo personalname_pgo |
| 39 |
|
#define yyact personalname_act |
| 40 |
|
#define yyexca personalname_exca |
| 41 |
|
#define yyerrflag personalname_errflag |
| 42 |
|
#define yynerrs personalname_nerrs |
| 43 |
|
#define yyps personalname_ps |
| 44 |
|
#define yypv personalname_pv |
| 45 |
|
#define yys personalname_s |
| 46 |
|
#define yy_yys personalname_yys |
| 47 |
|
#define yystate personalname_state |
| 48 |
|
#define yytmp personalname_tmp |
| 49 |
|
#define yyv personalname_v |
| 50 |
|
#define yy_yyv personalname_yyv |
| 51 |
|
#define yyval personalname_val |
| 52 |
|
#define yylloc personalname_lloc |
| 53 |
|
#define yyreds personalname_reds |
| 54 |
|
#define yytoks personalname_toks |
| 55 |
|
#define yylhs personalname_yylhs |
| 56 |
|
#define yylen personalname_yylen |
| 57 |
|
#define yydefred personalname_yydefred |
| 58 |
|
#define yydgoto personalname_yydgoto |
| 59 |
|
#define yysindex personalname_yysindex |
| 60 |
|
#define yyrindex personalname_yyrindex |
| 61 |
|
#define yygindex personalname_yygindex |
| 62 |
|
#define yytable personalname_yytable |
| 63 |
|
#define yycheck personalname_yycheck |
| 64 |
|
|
| 65 |
|
#include <string> |
| 66 |
|
|
| 67 |
|
#define YYSTYPE char * |
| 68 |
|
|
| 69 |
|
struct yy_buffer_state * personalname_scan_string(const char *); |
| 70 |
|
void personalname_runparse(std::string const &); |
| 71 |
|
std::string get_given_name(void); |
| 72 |
|
std::string get_surname(void); |
| 73 |
|
#endif |