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

Can't assign struct coordinates from array initializer #188

Open
GoogleCodeExporter opened this issue Oct 14, 2015 · 1 comment
Open

Can't assign struct coordinates from array initializer #188

GoogleCodeExporter opened this issue Oct 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. picoc -s coordinates.c

What is the expected output? What do you see instead?
No output expected. We get this error message: 
   "can't assign struct coordinates from array initializer"

What version of the product are you using? On what operating system?
Svn revision 603, on MS Windows 7, compiled with MS Visual Studio.

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 14 Jan 2014 at 10:46

Attachments:

@GoogleCodeExporter
Copy link
Author

Here is the source code :
struct coordinates
{
   int x;
   int y;
};
struct coordinates location = {12, 17};

Original comment by [email protected] on 14 Jan 2014 at 10:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant