Fix parser crash with . in multi-part method calls