I'm not sure this is the best way to find the parent node.

I tried to make sense of the hint given in https://github.com/whitequark/parser/issues/111, but I didn't understand how to apply it in this context.