SirAnthony/slpp

Numbers in hex format not processed correctly

Mause opened this issue · 1 comments

In arrays such as;

{
    ID = 0x74fa4cae,
    Version = 0x07c2,
    Manufacturer = 0x21544948
};

The output is like this;

{
    1: 'x74fa4cae',
    3: 'x07c2',
    5: 'x21544948',
    'Version': 0,
    'ID': 0,
    'Manufacturer': 0
}

Aha! Thank you, that simplified some of my code greatly 😄