Update semver.md

Update BNF grammar