| 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_DATEMANAGEMENT_DATEVALUEPARSER_DECL_H_ |
| 24 |
|
#define _GEDCOMPARSER_DATEMANAGEMENT_DATEVALUEPARSER_DECL_H_ |
| 25 |
|
#include <stdio.h> |
| 26 |
|
|
| 27 |
|
#define yymaxdepth datevalue_maxdepth |
| 28 |
|
#define yyparse datevalue_parse |
| 29 |
|
#define yyerror datevalue_error |
| 30 |
|
#define yylval datevalue_lval |
| 31 |
|
#define yychar datevalue_char |
| 32 |
|
#define yydebug datevalue_debug |
| 33 |
|
#define yypact datevalue_pact |
| 34 |
|
#define yyr1 datevalue_r1 |
| 35 |
|
#define yyr2 datevalue_r2 |
| 36 |
|
#define yydef datevalue_def |
| 37 |
|
#define yychk datevalue_chk |
| 38 |
|
#define yypgo datevalue_pgo |
| 39 |
|
#define yyact datevalue_act |
| 40 |
|
#define yyexca datevalue_exca |
| 41 |
|
#define yyerrflag datevalue_errflag |
| 42 |
|
#define yynerrs datevalue_nerrs |
| 43 |
|
#define yyps datevalue_ps |
| 44 |
|
#define yypv datevalue_pv |
| 45 |
|
#define yys datevalue_s |
| 46 |
|
#define yy_yys datevalue_yys |
| 47 |
|
#define yystate datevalue_state |
| 48 |
|
#define yytmp datevalue_tmp |
| 49 |
|
#define yyv datevalue_v |
| 50 |
|
#define yy_yyv datevalue_yyv |
| 51 |
|
#define yyval datevalue_val |
| 52 |
|
#define yylloc datevalue_lloc |
| 53 |
|
#define yyreds datevalue_reds |
| 54 |
|
#define yytoks datevalue_toks |
| 55 |
|
#define yylhs datevalue_yylhs |
| 56 |
|
#define yylen datevalue_yylen |
| 57 |
|
#define yydefred datevalue_yydefred |
| 58 |
|
#define yydgoto datevalue_yydgoto |
| 59 |
|
#define yysindex datevalue_yysindex |
| 60 |
|
#define yyrindex datevalue_yyrindex |
| 61 |
|
#define yygindex datevalue_yygindex |
| 62 |
|
#define yytable datevalue_yytable |
| 63 |
|
#define yycheck datevalue_yycheck |
| 64 |
|
|
| 65 |
|
|
| 66 |
|
#define YYSTYPE char * |
| 67 |
|
|
| 68 |
|
#define YYDEBUG 1 |
| 69 |
|
struct yy_buffer_state * datevalue_scan_string(const char *); |
| 70 |
|
#include <string> |
| 71 |
|
#include "GEDCOMParser/DateManagement/DateValue.hh" |
| 72 |
|
#include "GEDCOMParser/DateManagement/Date.hh" |
| 73 |
|
#include "GEDCOMParser/DateManagement/Period.hh" |
| 74 |
|
#include "GEDCOMParser/DateManagement/Range.hh" |
| 75 |
|
#include "GEDCOMParser/DateManagement/DatePhrase.hh" |
| 76 |
|
|
| 77 |
|
void datevalue_runparse(std::string const &, GEDCOMParser::DateManagement::DateValue * date_value, int debug = 0); |
| 78 |
|
#endif |