This doesn't seem as simple as I initially thought. See [this PR](https://github.com/solidity-parser/parser/pull/85) and my comment there for extra details.