loops now work without the shift reduce conflit. It was just a part of my grammar that was a little bit odd. Turns out I did not need a part of the grammar.