This is a triage of whitequark/parser#305. Please see https://github.com/whitequark/parser/issues/305#issuecomment-236808555.