Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility: Expression-List as Array-Initialization #352

Closed
riederm opened this issue Oct 29, 2021 · 1 comment · Fixed by #394
Closed

Compatibility: Expression-List as Array-Initialization #352

riederm opened this issue Oct 29, 2021 · 1 comment · Fixed by #394
Assignees
Labels
compatibility-oscat syntax or semantics which are not necessarily part of the standard, but seen in the oscat-libraries good first issue Good for newcomers
Projects
Milestone

Comments

@riederm
Copy link
Collaborator

riederm commented Oct 29, 2021

There is existing code that uses an Expression-list as an array-initialization and I think we should be compatibilt to this.

	FACTS : ARRAY[0..12] OF DINT := 1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600;

this code is from oscat basic library.

@riederm riederm added the compatibility-oscat syntax or semantics which are not necessarily part of the standard, but seen in the oscat-libraries label Oct 29, 2021
@ghaith ghaith added this to the oscat milestone Oct 29, 2021
@riederm riederm added the good first issue Good for newcomers label Nov 29, 2021
@99NIMI 99NIMI added this to To do in Next via automation Nov 30, 2021
@99NIMI 99NIMI moved this from To do to In progress in Next Dec 1, 2021
@99NIMI 99NIMI self-assigned this Dec 1, 2021
@create-issue-branch
Copy link

@99NIMI 99NIMI linked a pull request Dec 2, 2021 that will close this issue
@99NIMI 99NIMI moved this from In progress to Review in progress in Next Dec 2, 2021
Next automation moved this from Review in progress to Done Dec 3, 2021
ghaith pushed a commit that referenced this issue Dec 3, 2021
* expression list arr initialization for int (#352)

* expression list arr init for string (#352)

* expression list arr init containing binaryexpression (#352)

* added tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility-oscat syntax or semantics which are not necessarily part of the standard, but seen in the oscat-libraries good first issue Good for newcomers
Projects
Status: Done
Next
Done
Development

Successfully merging a pull request may close this issue.

3 participants