Bug 1231: Parse '!' as a negation of state.