Update diceparser.cpp

priority and left to right mode managed