Closed elikaski closed 3 years ago
@NeeEoo can't assign you 🤷
Ok you can now assign me. I have to interact with the conversation at least once for you to be able.
I'm gonna change get_token_after_array_access
to add the offset parameter from the structs branch. Since it expects an id before LBRACK, and i can't move the token_pointer
It is possible to declare an array in a for loop statement E.g.
An example is available in loops.code And even declare and initialize:
for (int arr[10] = {1,2,3,4} ; i < 10; i++) {
These kind of for loops cause a "false" warning to printed: [Warning] For loop variable 'ID arr (line 6 column 14)' isn't assigned to anything and may cause side effects