Skip to content

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

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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