strip the blocks out of the syntax file