The commit 61f6fe9d1c ("parser: be more restrictive when parsing numbers") introduced a bug where having a single '0' would cause a parser error due to the base handling logic swallowing the ;. Fix this and add a test to check for it.
61f6fe9d1c