Naively handle dedent after , and ; which works most of the cases but does not work with multi level dedent.