C++, allow 8 and 9 in hexadecimal integer literals.

Fixes sphinx-doc/sphinx#6286.
This commit is contained in:
Jakob Lykke Andersen
2019-04-14 11:05:32 +02:00
parent a46d4c9bca
commit 396228953f
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ def test_expressions():
exprCheck('nullptr', 'LDnE')
exprCheck('true', 'L1E')
exprCheck('false', 'L0E')
ints = ['5', '0', '075', '0xF', '0XF', '0b1', '0B1']
ints = ['5', '0', '075', '0x0123456789ABCDEF', '0XF', '0b1', '0B1']
unsignedSuffix = ['', 'u', 'U']
longSuffix = ['', 'l', 'L', 'll', 'LL']
for i in ints: