Fix parsing of multiple globals in datadef