/[ghosts]/ghosts/gedcomparser/src/GEDCOMParser/DateManagement/datevaluelexer.lxx
ViewVC logotype

Diff of /ghosts/gedcomparser/src/GEDCOMParser/DateManagement/datevaluelexer.lxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1 by cpcp, Wed Oct 23 19:21:41 2002 UTC revision 1.1.2.2 by cpcp, Sun Oct 27 09:45:01 2002 UTC
# Line 1  Line 1 
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
# Line 18  Line 18 
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    
# Line 92  DIGIT  [0-9] Line 92  DIGIT  [0-9]
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    

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26