Parse pub modifier in mod declarations