Skip to content

Commit

Permalink
Allows scientific notation to be used (#75)
Browse files Browse the repository at this point in the history
* Bumps version number to 0.11.1
* Updates changelog
  • Loading branch information
c4deszes authored Nov 2, 2021
1 parent 7225eac commit 6310985
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.11.1] - 2021-11-02

### Added

- Scientific notation is now allowed when providing floating point values

## [0.11.0] - 2021-10-17

### Added
Expand Down
2 changes: 1 addition & 1 deletion ldfparser/lark/ldf.lark
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ signal_representations: "Signal_representation" "{" (signal_representation_node+
signal_representation_node: ldf_identifier ":" ldf_identifier ("," ldf_identifier)* ";"

C_INT: ("0x"HEXDIGIT+) | ("-"? INT)
C_FLOAT: "-"? INT ("." INT)?
C_FLOAT: ("-"? INT ("." INT)?) ("e" ("+" | "-")? INT)?
C_VERSION: INT "." INT

ANY_SEMICOLON_TERMINATED_LINE: /.*;/
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[metadata]
version = 0.11.0
version = 0.11.1

0 comments on commit 6310985

Please sign in to comment.