dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test program for updates in gom.
[gedcom-parse.git]
/
gedcom
/
gedcom.y
diff --git
a/gedcom/gedcom.y
b/gedcom/gedcom.y
index 22f9f69bb5bd8bf54096fe60ed1e0572010527e1..56f10c2297263ec70a8e6c885a7c0d9463d2dbb0 100644
(file)
--- a/
gedcom/gedcom.y
+++ b/
gedcom/gedcom.y
@@
-1207,6
+1207,7
@@
ftree_addr_sect : OPEN DELIM TAG_ADDR opt_line_item
compat_generate_resi_end(PARENT, par);
}
}
compat_generate_resi_end(PARENT, par);
}
}
+ ;
ftree_addr_subs : /* empty */
| ftree_addr_subs ftree_addr_sub
ftree_addr_subs : /* empty */
| ftree_addr_subs ftree_addr_sub
@@
-2474,6
+2475,7
@@
indiv_attr_sect : OPEN DELIM indiv_attr_tag mand_line_item
CLOSE
{ end_element(ELT_SUB_INDIV_ATTR, PARENT, $<ctxt>5, NULL);
}
CLOSE
{ end_element(ELT_SUB_INDIV_ATTR, PARENT, $<ctxt>5, NULL);
}
+ ;
indiv_attr_tag : TAG_CAST { $$ = $1; START1(CAST) }
| TAG_DSCR { $$ = $1; START1(DSCR) }
indiv_attr_tag : TAG_CAST { $$ = $1; START1(CAST) }
| TAG_DSCR { $$ = $1; START1(DSCR) }
@@
-2487,6
+2489,7
@@
indiv_attr_tag : TAG_CAST { $$ = $1; START1(CAST) }
| TAG_RELI { $$ = $1; START1(RELI) }
| TAG_SSN { $$ = $1; START1(SSN) }
| TAG_TITL { $$ = $1; START1(TITL) }
| TAG_RELI { $$ = $1; START1(RELI) }
| TAG_SSN { $$ = $1; START1(SSN) }
| TAG_TITL { $$ = $1; START1(TITL) }
+ ;
indiv_resi_sect : OPEN DELIM TAG_RESI
{ $<ctxt>$ = start_element(ELT_SUB_INDIV_RESI,
indiv_resi_sect : OPEN DELIM TAG_RESI
{ $<ctxt>$ = start_element(ELT_SUB_INDIV_RESI,
@@
-3625,6
+3628,7
@@
error_subs : /* empty */
;
error_sect : OPEN DELIM opt_xref anytag opt_value error_subs CLOSE { }
;
error_sect : OPEN DELIM opt_xref anytag opt_value error_subs CLOSE { }
+ ;
gen_sect : OPEN DELIM opt_xref anystdtag
{ INVALID_TAG($4.string); }
gen_sect : OPEN DELIM opt_xref anystdtag
{ INVALID_TAG($4.string); }
@@
-3793,6
+3797,7
@@
anystdtag : TAG_ABBR
| TAG_VERS { }
| TAG_WIFE { }
| TAG_WILL { }
| TAG_VERS { }
| TAG_WIFE { }
| TAG_WILL { }
+ ;
%%
%%