Add better handling for parser options

```
opt = opt | (1 << 2)
```