Skip to content

Commit

Permalink
Fixing error when physical value scale is negative
Browse files Browse the repository at this point in the history
Added support for negative values of floating point fields
Bumped version number to 0.3.1
  • Loading branch information
c4deszes committed Sep 7, 2020
1 parent cbc20ee commit 1adddad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ldfparser/ldf.lark
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ ANY_COLON_TERMINATED_LINE: /.*,/

C_INITIALIZER_LIST: ("{"|"{ ") C_INT ([","|", "]C_INT)* ("}"|" }")
C_INT: ("0x"HEXDIGIT+) | ("-"? HEXDIGIT+)
C_FLOAT: INT ("." INT)?
C_FLOAT: "-"? INT ("." INT)?

ldf_header: [ldf_description_file ldf_header_protocol_version_def ldf_header_language_version_def ldf_header_speed_def (ldf_header_channel)?]
ldf_description_file: "LIN_description_file" ";"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
long_description = fh.read()
setuptools.setup(
name='ldfparser',
version='0.3.0',
version='0.3.1',
author="Balazs Eszes",
author_email="c4deszes@gmail.com",
description="LDF Language support for Python",
Expand Down

0 comments on commit 1adddad

Please sign in to comment.