Re: [Gedcom-parse-devel] Re: Gedcom-parse
Status: Beta
Brought to you by:
verthezp
From: Peter V. <Pet...@ad...> - 2002-01-02 09:34:32
|
Geert Vantienen wrote: > > Hello Peter, > > In the callbacks you now pass the tag as a char*, > is it possible to pass them as enum value as they > are defined in the gedcom.h file ? No problem, but then you'll need both, because if I just pass e.g. ELT_SUB_INDIV_GEN, then you won't know which tag it really was. Or did you mean passing them as TAG_BIRT, TAG_DEAT, ... ? Those are not defined in gedcom.h, but in the header generated by YACC. But maybe that would even be better. I'll see whether I can move these to gedcom.h. But then also, you'll need the original char* value to, at least for the user-defined tags. Best regards, Peter. > This would simplify the callback of : > ELT_SUB_INDIV_GEN because this one is used > for almost all events. > > Thanks, > Geert > > _______________________________________________ > Gedcom-parse-devel mailing list > Ged...@li... > https://lists.sourceforge.net/lists/listinfo/gedcom-parse-devel -- =================================================================== Peter Verthez Software engineer Email at work: mailto:Pet...@al... at home: mailto:Pet...@ad... WWW: http://gallery.uunet.be/Peter.Verthez =================================================================== You know you've been hacking LISP too long, (if (> (count #\( sentence) *a-lot*)) |