Fix: normand.py: accept floating point number variable
[normand.git] / normand / normand.py
index c643429012be389d2433df9a2db687e00d7fb71b..9a950619177dff1a6f747908bea3a849db1d1b74 100644 (file)
@@ -30,7 +30,7 @@
 # Upstream repository: <https://github.com/efficios/normand>.
 
 __author__ = "Philippe Proulx"
-__version__ = "0.6.0"
+__version__ = "0.6.1"
 __all__ = [
     "ByteOrder",
     "parse",
@@ -1558,7 +1558,7 @@ class _Gen:
         self, item: _VarAssign, state: _GenState, next_vl_instance: int
     ):
         # Update variable
-        state.variables[item.name] = self._eval_item_expr(item, state, True)
+        state.variables[item.name] = self._eval_item_expr(item, state, True, True)
         return next_vl_instance
 
     # Handles the fixed-length integer item `item`.
This page took 0.023639 seconds and 4 git commands to generate.