diff --git a/CHANGELOG.md b/CHANGELOG.md index 70c0604..4bf733a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/ldfparser/lark/ldf.lark b/ldfparser/lark/ldf.lark index 864c102..516aa1f 100644 --- a/ldfparser/lark/ldf.lark +++ b/ldfparser/lark/ldf.lark @@ -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: /.*;/ diff --git a/setup.cfg b/setup.cfg index eddaeed..783ef04 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [metadata] -version = 0.11.0 +version = 0.11.1