+no_std_subs : /* empty */
+ | no_std_subs no_std_sub
+ ;
+
+no_std_sub : user_sect /* 0:M */
+ | gen_sect
+ | error error_subs CLOSE { HANDLE_ERROR }
+ ;
+
+no_std_rec : user_rec /* 0:M */
+ | gen_rec
+ | error error_subs CLOSE { HANDLE_ERROR }
+ ;
+
+user_rec : OPEN DELIM opt_xref USERTAG
+ { if ($4[0] != '_') {
+ gedcom_error("Undefined tag (and not a valid user tag): %s",
+ $4);
+ YYERROR;
+ }
+ }
+ opt_value user_sects CLOSE { }
+ ;
+