20.0.1
Description
Abstract
Use "maximal munch" technique to avoid replace a part of a longer macro with a shorter macro
Background
Actually, in the scenario below, xxx_a_b was evaluated to 13.96_b and made an error.
ScenarioModifiers:
ScenarioModifier:
- name: __tier4_modifier_xxx_a
type: double
list:
- 13.96
- name: __tier4_modifier_xxx_a_b
type: double
list:
- 24.19
OpenSCENARIO:
ParameterDeclarations:
ParameterDeclaration:
- name: xxx_a
parameterType: double
value: __xxx_a
- name: xxx_a_b
parameterType: double
value: __tier4_modifier_xxx_a_bDetails
References
https://en.wikipedia.org/wiki/Maximal_munch
Regression Test: OK
Destructive Changes
None
Known Limitations
None