left recursion error detection example