1 |
/** |
/* |
2 |
Copyright 2002 Cyril Picard |
Copyright 2002 Cyril Picard |
3 |
|
|
4 |
This file is part of the GEDCOMParser library |
This file is part of the GEDCOMParser library |
18 |
along with the GEDCOMParser library ; if not, write to the Free Software |
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 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 |
|
|
21 |
**/ |
*/ |
22 |
|
|
23 |
%{ |
%{ |
24 |
|
|
92 |
"/" { yylval = strdup(datevaluetext); return SLASH; } |
"/" { yylval = strdup(datevaluetext); return SLASH; } |
93 |
[ ] { yylval = strdup(datevaluetext); return SPACE; } |
[ ] { yylval = strdup(datevaluetext); return SPACE; } |
94 |
{DIGIT}* { yylval = strdup(datevaluetext); return NUMBER; } |
{DIGIT}* { yylval = strdup(datevaluetext); return NUMBER; } |
95 |
|
"an "|" AN " { return AN; } |
96 |
|
I|II|III|IV|V|VI|VII|VIII|IX|X|XI|XII|XIII|XIV|i|ii|iii|iv|v|vi|vii|viii|ix|x|xi|xii|xiii|xiv { yylval = strdup(datevaluetext); return FRENCH_YEAR; } |
97 |
"(".*")" { yylval = strdup(datevaluetext); return DATEPHRASE; } |
"(".*")" { yylval = strdup(datevaluetext); return DATEPHRASE; } |
98 |
%% |
%% |
99 |
|
|