Fix parsing with several edges on same statement.

1 job for master in 2 minutes and 49 seconds