Xref on user defined record is optional.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Mon, 31 Dec 2001 15:53:51 +0000 (15:53 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Mon, 31 Dec 2001 15:53:51 +0000 (15:53 +0000)
gedcom/gedcom.y

index 872be1271cf9eec23b6adb96334dad6ec01814b1..e57b539a222dc8dd11abb339a34b9b520832ca2e 100644 (file)
@@ -3288,7 +3288,7 @@ user_rec    : OPEN DELIM opt_xref USERTAG
              }
               opt_value
               { $<ctxt>$ = start_record(REC_USER,
-                                       $1, GEDCOM_MAKE_STRING($3), $4);
+                                       $1, GEDCOM_MAKE_NULL_OR_STRING($3), $4);
                START($4, $<ctxt>$)
              }
              user_sects