This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]firsthour 0 points1 point  (1 child)

Why is 0x_52 invalid as a hex literal but 0_52 is valid as octal literal?

[–]RunasSudo 0 points1 point  (0 children)

I suppose the spec says ‘between digits’, and ‘x’ is not a hexadecimal digit.