fail on empty grammar