Allow elements out of context.
[gedcom-parse.git] / gom / gom.c
index 6e27ab7bbf26b8949b6ce580874026b9ab14f8db..e00af9a948317ef57c9046643113eeee0a21b40b 100644 (file)
--- a/gom/gom.c
+++ b/gom/gom.c
@@ -111,10 +111,10 @@ int gom_parse_file(const char* file_name)
     gom_cleanup();
   }
   else {
+    gedcom_set_compat_options(COMPAT_ALLOW_OUT_OF_CONTEXT);
     subscribe_all();
   }
   gom_active = 1;
-  gedcom_set_compat_options(0);
   return gedcom_parse_file(file_name);
 }