Closed rsizonenko closed 8 years ago
Example is not correct, nested eval blocks must go first. Made grammar a bit more liberal to allow also plain nesting of eval blocks. Access to nested eval blocks happens via the contained elements - removed specific interface to keep the block similar to freeze.
Added test case...
Please check / close.
Nested evals possible (also multiple ones) when the come in the beginning of current eval block - checked
Editor does not allow to model nested eval blocks (both in top-level project and in compounds) Example: compound C { Integer a; eval { a > 0; eval { a < 100; } } }
Editor complains: missing '}' at 'eval' and extraneous input '}' expecting EOF