Using bitfield to store boolean flags in parsing state.