def preamble( self, (tag,start,stop,subtags), buffer ):
		"""Process the given production and it's children"""
		the_type = getString(subtags[0], buffer)
		lineno = lines(0,start,buffer)+1
		if  the_type.upper() != 'PREAMBLE' :
			bibfile_logger.warning("Entry at line %d has preamble syntax but entry_type is %s" % (lineno,the_type))
		else :
			bibfile_logger.warning("Preamble entry on line %d:" % lineno + "\n" + buffer[start:stop])
dataset/ETHPy150Open matthew-brett/bibstuff/bibstuff/bibfile.py/BibFile.preamble/original