Closed
Description
As mentionned at iv) point on issue orcc/orcc#42, until now Orcc allowed to declare variables in the body of a procedure (or function / action). This is not correct regarding on CAL standard.
A patch to fix this behaviour is ready (see orcc/orcc@6d680800), but before merging it to the master branch, all projects in orc-apps repository should be fixed.
The way to fix is pretty simple but a bit long to perform:
In all actions / functions / procedures, each local variable must be declared in a 'var' block instead of in the body. Each variable declaration must be separated by a comma, instead of a semi-colon.
Metadata
Metadata
Assignees
Labels
No labels