Skip to content

Integer attributes should support 64 bit signed integers to be compliant with CANdb++ #91

@sToman967

Description

@sToman967

In PropertiesDefinitionLineParser, when checking match.Groups[IsIntegerValueGroup].Value.Equals("INT") and
match.Groups[IsIntegerValueGroup].Value.Equals("HEX") ,
the strings are parsed as int:
Minimum = int.Parse(match.Groups[MinIntGroup].Value, CultureInfo.InvariantCulture), Maximum = int.Parse(match.Groups[MaxIntGroup].Value, CultureInfo.InvariantCulture), ,
but some values in the dbc I am trying to parse are too large to be stored in int32. They need to be parsed into long.
If there is any way to address this, would be much appreciated. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions