Refactor the grammar for parenlike1. No functional changes.