Skip to content

Commit

Permalink
Merge pull request #3 from c4deszes/bug/negative-float-values
Browse files Browse the repository at this point in the history
Fixing error when physical value scale is negative
  • Loading branch information
c4deszes authored Sep 7, 2020
2 parents cbc20ee + 1adddad commit 78e4e3d
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 78e4e3d

Please sign in to comment.