Adjust tests to work on 32-bit

Fixes #662.
This commit is contained in:
Nikita Popov 2022-11-12 16:19:15 +01:00
parent 4ce9781260
commit 950bf8f1d1
2 changed files with 5 additions and 5 deletions

View File

@ -241,8 +241,8 @@ class EmulativeTest extends LexerTest {
['1_000', [
[\T_LNUMBER, '1_000'],
]],
['0xCAFE_F00D', [
[\T_LNUMBER, '0xCAFE_F00D'],
['0x7AFE_F00D', [
[\T_LNUMBER, '0x7AFE_F00D'],
]],
['0b0101_1111', [
[\T_LNUMBER, '0b0101_1111'],

View File

@ -4,7 +4,7 @@ Different integer syntaxes
6.674_083e-11;
299_792_458;
0xCAFE_F00D;
0x7AFE_F00D;
0b0101_1111;
0137_041;
@ -42,7 +42,7 @@ array(
)
2: Stmt_Expression(
expr: Scalar_Int(
value: 3405705229
value: 2063527949
)
)
3: Stmt_Expression(
@ -196,4 +196,4 @@ array(
)
)
)
)
)