mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-08-09 12:38:07 -05:00
C++, allow 8 and 9 in hexadecimal integer literals.
Fixes sphinx-doc/sphinx#6286.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user