-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Description
Summary
When trying to specify an initial value constant for a behavior annex variable, a parse error occurs. This could be the result of having a bad version of the standard. Using a draft from 2017-02. The grammar on page 9 shows that a value_constant can be specified.
Steps to Reproduce
- Paste model
- Receive error
unterminated behavior variable (missing ending ';')
package ba_test
public
with Base_Types;
process top
features
o1: out data port Base_Types::Integer_32;
annex behavior_specification {**
variables
tmp : Base_Types::Integer_32 :=1;
states
a : initial final state;
transitions
t : a -[]-> a {
o1 := tmp
};
**};
end top;
end ba_test;
Environment
- OSATE Version: Nightly
- Operating System: Windows