Ok, thanks for the help! What causes unreachable states? Can I change something about the grammar to avoid them (apart from -e, of course)? Cheers, Colin