0004412: Entering a witness to an event such as marriage
In some circumstances (after a Father's age of Mother's age) a witness could be ignored.
This commit is contained in:
1 parent
3501a9666c
commit
3246bf77d3
1 file changed
+2
-2
@@ -5646,7 +5646,7 @@ class GedcomParser(UpdateCallback):
|
||||
"""
|
||||
while True:
|
||||
line = self.__get_next_line()
|
||||
if self.__level_is_finished(line, state.level):
|
||||
if self.__level_is_finished(line, state.level+1):
|
||||
break
|
||||
elif line.token == TOKEN_AGE:
|
||||
attr = gen.lib.Attribute()
|
||||
@@ -5667,7 +5667,7 @@ class GedcomParser(UpdateCallback):
|
||||
"""
|
||||
while True:
|
||||
line = self.__get_next_line()
|
||||
if self.__level_is_finished(line, state.level):
|
||||
if self.__level_is_finished(line, state.level+1):
|
||||
break
|
||||
elif line.token == TOKEN_AGE:
|
||||
attr = gen.lib.Attribute()
|
||||
|
||||
Reference in new issue
Block a user