changed grammar structure to allow indentation detection