generator: don't waste time parsing empty lines