Found some grammars which cause an infinite loop